看板 DFBSD_kernel 關於我們 聯絡資訊
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.