Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sydde

macrumors 68030
Original poster
Aug 17, 2009
2,577
7,070
IOKWARDI
What is the relationship between task priority and thread priority? If I "renice" an app from terminal, is the new priority inherited by all the threads in a multi-threaded task? Is the behavior the same for pthreads and NSThreads? (I would assume so, since the latter is based on the former.) Is niceness entirely transparent to the app? And if I set the priority of a given thread in code, how does that relate to the task priority if that gets reniced?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.