Subject: Re: kern/30689 exit_lwps: lwp_wait1 failed with error 11
To: Anil Gopinath <email@example.com>
From: Rui Paulo <rpaulo@NetBSD.org>
Date: 08/09/2005 04:12:44
On 2005.08.08 20:03:29 +0000, Anil Gopinath wrote:
| Is it possible to safely recover and not panic if
| lwp_wait1() returned error 11?
I don't think so, because:
lwp_wait1(struct lwp *l, lwpid_t lid, lwpid_t *departed, int flags)
if (lid == l->l_lid)
return (EDEADLK); /* Waiting for ourselves makes no sense. */
EDEADLK is error number 11.
-- Rui Paulo