[lkml]   [1996]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: clone() and pthreads?
    > assumes it received an extra parameter, a pointer to a clone_options
    > structure, which currently looks like this:
    > struct clone_options {
    > int pid; /* desired pid */
    > int task; /* desired task id */
    > int cpu; /* desired cpu (currently ignored) */
    > };

    Yahh boo ;). Make then pid_t and __u32 and a cpu mask. Im just about to add
    some CPU binding stuff for SMP and that looks ideal (pid/task ignored in
    my case).

    > I'm planning on using more clone extensions in the future to support
    > remote fork.

    Im dying to see how well remote fork with an fd that is an mmap() anonymous
    area can be made to work. If that can be done the Linux/MC will be nice.


     \ /
      Last update: 2005-03-22 13:37    [W:0.026 / U:61.268 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site