Messages in this thread | | | Date | Fri, 13 Jun 1997 16:52:30 +0300 (EET DST) | From | Mikko J Rauhala <> | Subject | Re: 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/
| |