scheduler rewrite

Antonio Vargas windenntw at gmail.com
Thu Dec 9 13:31:24 PST 2004


On Thu, 9 Dec 2004 02:20:29 -0800 (PST), Matthew Dillon
<dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> :Hmm... I will assume you are just doing 1:1 scheduling, so how is the
> :userland scheduler deciding who runs, by sending SIGSTOP and SIGCONT
> :to other threads???
>     
>     No, it's at a much lower level.  Signals are high level entities that
>     have little to do with the actual scheduling and descheduling API.
> 

then...

sendmsg(LWKT_PORT, DONT_MAKE_THIS_ONE_RUNABLE, thread);

and

sendmsg(LWKT_PORT, MAKE_THIS_ONE_RUNABLE, thread);

;)

-- 
Greetz, Antonio Vargas aka winden of network

http://wind.codepixel.com/

Las cosas no son lo que parecen, excepto cuando parecen lo que si son.





More information about the Kernel mailing list