Linus Torvalds <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: thread group comments Alexander Viro
- Re: thread group comments Ulrich Drepper
- Re: thread group comments Alan Cox
- Re: thread group comments Brian Wellington
- Re: thread group comments Alan Cox
- Re: thread group comments Andi Kleen
- Re: thread group comments Ulrich Drepper
- Re: thread group comments Linus Torvalds
- Re: thread group comments Ulrich Drepper
- Re: thread group comments Linus Torvalds
- Re: thread group comments Ulrich Drepper
- Re: thread group comments Andi Kleen
- Re: thread group comments Linus Torvalds
- Re: thread group comments Andi Kleen
- Re: thread group comments Linus Torvalds
- Re: thread group comments Ulrich Drepper
- Re: thread group comments Andi Kleen
- Re: thread group comments Andi Kleen
- Re: thread group comments Ulrich Drepper
- Re: thread group comments Andi Kleen
- Re: thread group comments Ulrich Drepper