From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4C151D6A.8000903@bouyapop.org> References: <8ebe5bdc32ec6d9b7efc27b0b0b3697c@hamnavoe.com> <4C14EA90.8020108@bouyapop.org> <4C151D6A.8000903@bouyapop.org> Date: Mon, 14 Jun 2010 20:36:06 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] 9vx, kproc and *double sleep* Topicbox-Message-UUID: 337ac9ae-ead6-11e9-9d60-3106f5b1d025 On Sun, Jun 13, 2010 at 11:03 AM, Philippe Anel wrote: > I tried with adding : > > =A0 while (p->mach) > =A0 =A0 =A0 sched_yield(); > > > at the end of sched.c:^runproc(), before the return. > > It seems to work well. > > What do you think ? Not sure I understand all the implications but I'll try anything at this point :-) I'm trying now with -O3 back on. The -O3 was a red herring. ron