Subject: Re:kern/30689 exit_lwps: lwp_wait1 failed with error 11
To: None <tech-kern@netbsd.org>
From: Anil Gopinath <anil_public@yahoo.com>
List: tech-kern
Date: 08/08/2005 20:03:29
Is it possible to safely recover and not panic if
lwp_wait1() returned error 11?
Thanks,
Anil
src/sys/kern/kern_exit.c
while (p->p_nlwps > 1) {
DPRINTF(("exit_lwps: waiting for %d
LWPs (%d runnable, %d zombies)\n",
p->p_nlwps, p->p_nrlwps,
p->p_nzlwps));
error = lwp_wait1(l, 0, &waited,
LWPWAIT_EXITCONTROL);
if (error)
panic("exit_lwps: lwp_wait1
failed with error %d",
error);
DPRINTF(("exit_lwps: Got LWP %d from
lwp_wait1()\n", waited));
}
__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail