Date: Mon, 30 Jun 2003 16:03:38 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Terry Lambert <tlambert2@mindspring.com> Cc: freebsd-threads@freebsd.org Subject: Re: rtprio and kse Message-ID: <Pine.GSO.4.10.10306301558130.28213-100000@pcnet5.pcnet.com> In-Reply-To: <3F0074A9.FE998647@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Jun 2003, Terry Lambert wrote: > Daniel Eischen wrote: > > On Mon, 30 Jun 2003, Petri Helenius wrote: > > > So if I interpret this correctly, to achieve the "expected" result, > > > > What is the expected result? I expect the expected result > > to be exactly the way that libkse works. If you were to > > do the same thing in Solaris (pthreads), it would behave > > just like libkse works: it affects the LWP, not the thread, > > so any threads running in the LWP would benefit from > > the priority change. > > I'd expect the creation of a seperate KSEG, so that only the thread > that made the request gets the priority boost. Obviously you're expectations are not correct :-) Aside from breaking POSIX (a scope process thread being silently converted to a scope system thread), rtprio() is a system call and affects the kernel priority. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10306301558130.28213-100000>