Messages in this thread | | | Subject | Re: thread group comments | From | Ulrich Drepper <> | Date | 01 Sep 2000 18:20:44 -0700 |
| |
Linus Torvalds <torvalds@transmeta.com> writes:
> 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?
Yes. I have it basically working. You have of course to swap before the clone since the new thread will use the stack.
-- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ - 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/
| |