[lkml]   [1997]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Forking
    Dieter Kaeppel <> 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).

    David Mentr\'e / CERSIAT-BAE / Sys admin <>

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