Subject: Re: your mail
To: David Laight <david@l8s.co.uk>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 06/29/2006 13:35:09
David Laight <david@l8s.co.uk> wrote:

> > It seems that the same flag will have to be used for another place:
> > Linux threads exit without going to zombie state.
> 
> Are you sure?
> The Linux systems I've seen always make normal processes zombies,
> even when the parent isn't going to be told.
> They only actually disappear when when parent runs (in userspace).

Not if the child is created with clone and CLONE_THREAD set. 

From userland, you see a thread. From the Linux kernel (and from NetBSD
emulations as well), you see a process that will terminate without going
to the zombie state.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org