Date: Sun, 29 Jun 2003 10:49:00 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Petri Helenius <pete@he.iki.fi> Cc: freebsd-threads@freebsd.org Subject: Re: rtprio and kse Message-ID: <Pine.GSO.4.10.10306291043001.7782-100000@pcnet5.pcnet.com> In-Reply-To: <001501c33d5c$2ba7ab00$f8d5473e@PETEX31>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jun 2003, Petri Helenius wrote: > > How does kse and rtprio interact? If a thread calls to set realtime priority > does that set the priority for all threads, just the threads that happen > to be scheduled on that kse or just the thread that made the call? The rtprio() call affects the KSEG in which the thread runs. So it is the KSEG that has the realtime priority, and all threads that run in that KSEG will be affected. This doesn't affect other KSEGs, so if you are creating system scope threads (each has their own KSEG and KSE), they will only be affected if you call rtprio() from their threads. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10306291043001.7782-100000>