lkml.org 
[lkml]   [1998]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site