Re: More waitpid issues with CLONE_DETACHED/CLONE_THREAD

From: Roland McGrath
Date: Sun Feb 01 2004 - 00:47:31 EST


> 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.)
-
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/