Re: 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: Michal Hocko <mhocko@...>
Cc: Kernel development list <linux-kernel@...>
Date: Thursday, August 21, 2008 - 5:04 pm

On Thu, 21 Aug 2008, Michal Hocko wrote:


Actually I was looking for pthread_setschedparam().  But it wasn't 
clear at first that I needed to change the policy to SCHED_FIFO and 
that special capabilities were needed.  With those changes it seems to 
work correctly.

Thanks for pointing me in the right direction!

Alan Stern

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

Messages in current thread:
Re: How do I raise the priority of one thread in a multi-thr..., Alan Stern, (Thu Aug 21, 5:04 pm)