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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kernel development list <linux-kernel@...>
Date: Thursday, August 21, 2008 - 2:58 pm

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-threade..., Alan Stern, (Thu Aug 21, 2:58 pm)