lkml.org 
[lkml]   [1997]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Forking
    From
    Date
    Dieter Kaeppel <tires@nuernberg.netsurf.de> writes:

    > Is it possible to create a new process which shares the data with the
    > parent?
    >
    > (For example to use two processors in the same programm)

    Yes. You should use LinuxThreads[1] which are kernel-pthreads. They are
    able to share the same address space but are scheduled like a real
    process (in fact, those threads are created with the shadow system
    call clone() which creates, AFAIK, a duplicate of a process sharing
    the same address space).

    [1] http://pauillac.inria.fr/~xleroy/linuxthreads/
    --
    David Mentr\'e / CERSIAT-BAE / Sys admin <mailto:David.Mentre@seriat.fr>

    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.020 / U:0.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site