Re: thread group comments

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Sep 01 2000 - 20:13:53 EST


On 1 Sep 2000, Ulrich Drepper wrote:
>
> I see no big problems with this either. The only tricky thing is to
> get the stack swapped after the first clone() but this is solvable.

Well, I would just swap it _before_ the clone() - basically in the
original parent when you create the new stack, you call clone() with the
new stack and with the old stack as the argument. No?

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:12 EST