Re: More waitpid issues with CLONE_DETACHED/CLONE_THREAD

From: Daniel Jacobowitz
Date: Sun Feb 01 2004 - 00:47:32 EST


On Sat, Jan 31, 2004 at 09:42:52PM -0800, Roland McGrath wrote:
> > I thought that a new group leader would be swapped in to that TID? But
> > I was always confused by the mechanics of that.
>
> The group leader never changes. The zombie group leader just sticks around
> until there are no other threads in the group. (The only exception here is
> exec.)

Ah, thanks, it was exec that I was thinking of.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/