Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 18:48:07 +0300
From:      Petri Helenius <pete@he.iki.fi>
To:        freebsd-threads@freebsd.org
Subject:   system priorities
Message-ID:  <40927537.6070405@he.iki.fi>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40927537.6070405>