From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C124CFC.3090707@bouyapop.org> Date: Fri, 11 Jun 2010 16:49:32 +0200 From: Philippe Anel User-Agent: Thunderbird 2.0.0.24 (X11/20100318) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <4C1242CD.5020202@bouyapop.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 9vx, kproc and *double sleep* Topicbox-Message-UUID: 3151cdbc-ead6-11e9-9d60-3106f5b1d025 Schedinit() initialize the scheduler label ... on which sleep() goes when calling gotolabel(&m->sched). Phil; ron minnich wrote: > I'll look but one thing doesn't make sense to me: > > > On Fri, Jun 11, 2010 at 2:06 PM, Philippe Anel wrote: > > >> // xigh: move unlocking to schedinit() >> > > > schedinit only runs once and sleep runs all the time. That's the part > I don't get. > > But you might have found something, I sure wish I understood it all better :-) > > ron > > >