How do I raise the priority of one thread in a multi-threaded process?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Stern
Date: Thursday, August 21, 2008 - 11:58 am

Can anyone tell me how to raise the priority of one thread in a
multi-threaded process (using the pthreads library)?  Neither nice(2)
nor setpriority(2) is appropriate since they affect the priority of an
entire process rather than a single thread.

Thanks,

Alan Stern

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How do I raise the priority of one thread in a multi-threa ..., Alan Stern, (Thu Aug 21, 11:58 am)