Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2004 18:45:21 +0300
From:      Petri Helenius <pete@he.iki.fi>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: system priorities
Message-ID:  <4093C611.40600@he.iki.fi>
In-Reply-To: <Pine.GSO.4.10.10405011047270.25244-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10405011047270.25244-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote:

>>This sounds like a bug. Could it change the KSEG which called the rtprio 
>>so there would be some deterministic behaviour to the rtprio if used in 
>>threaded program? So I take it from this that rtprio is also broken for 
>>libthr?
>>    
>>
>
>Yes.
>
>  
>
Can and should it be fixed?

>
>The Solaris priocntl() lets you set/get:
>
>     P_LWPID
>           The id argument is an LWP ID.  The  priocntl  function
>           applies  to  the  LWP with the specified ID within the
>           calling process.
>
>    
>
Where would I get the "P_LWPID"? I´m not sure it's a good idea to expose 
the kse structure to an application using pthreads.

Pete



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