DragonFly BSD
DragonFly kernel List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: scheduler rewrite


From: Antonio Vargas <windenntw@xxxxxxxxx>
Date: Thu, 9 Dec 2004 22:27:46 +0100

On Thu, 9 Dec 2004 02:20:29 -0800 (PST), Matthew Dillon
<dillon@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.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]