Messages in this thread | | | Date | Fri, 4 Sep 1998 13:42:43 +1200 | From | Chris Wedgwood <> | Subject | Re: fork,clone,CLONE_VM prob. |
| |
On Fri, Sep 04, 1998 at 01:29:55AM +0200, Konstantin Muenning wrote:
> I have figured out that any combination of the clone-flags works > except when using CLONE_VM. Even when using CLONE_VM, the call > completes successful.
I think when using CLONE_VM both processes return with the same stack and bad things happen.
You need some assembly here to fix this up, I think libpthreads does it this way.
-cw
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html
| |