Subject: Re: your mail
To: David Laight <email@example.com>
From: Emmanuel Dreyfus <firstname.lastname@example.org>
Date: 06/29/2006 13:35:09
David Laight <email@example.com> 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.