system priorities

Petri Helenius pete at he.iki.fi
Fri Apr 30 08:48:14 PDT 2004


Am I correct in the observation that threads inherit their scheduling 
priority (nice and rtprio)
from the first "main" thread in the process instead of the parent thread?

I´m creating a few system scope threads from a rtprio main process and 
then dropping rtprio in the created threads and then creating more 
threads from them which seem to get rtprio from somewhere.

Is there a specification reference on this and if not, would it make 
more sense to inherit them from the parent thread?

Pete



More information about the freebsd-threads mailing list