Re: scheduler rewrite

看板DFBSD_kernel作者時間21年前 (2004/12/10 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/10 (看更多)
On Thu, 9 Dec 2004 02:20:29 -0800 (PST), Matthew Dillon <dillon@apollo.backplane.com> 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.
文章代碼(AID): #11kCiW00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11kCiW00 (DFBSD_kernel)