lkml.org 
[lkml]   [1996]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: clone() and pthreads?
Date
> 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.

Alan



\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site