lkml.org 
[lkml]   [1997]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Forking
On Fri, 13 Jun 1997, Dieter Kaeppel wrote:
> Is it possible to create a new process which shares the data with the
> parent?

Yes, by specifying such an option to clone() (which fork() uses to
implement its behaviour, btw). That is not meant to be used in
applications, though. You should use a thread library that supports the
clone() system call (such as linuxthreads).

--
Mikko Rauhala, sivari - mjr@iki.fi - http://www.iki.fi/mjr/


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.040 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site