You could still fork and use the message queue to pass data around, or IPC cause thats what its there for.
Or create another process that is a "data marshaller" for each of the worker processes.
 
Fun Times!!
 
/B
----- Original Message -----
From: 史绪良
Sent: Tuesday, November 05, 2002 22:47
Subject: Re: how create many thread (over 256)

 
hello!!
    can you help me??
 
    my program need many thread, they will not exit never. but redhat
linux7.3 - linux8.0 only create 256 thread!! how can I do??
                                thanks!!
 
can't use fork to create process,because all processes must share the memory!!
 
 
 
----- Original Message -----
Sent: Friday, January 10, 2003 12:32 PM
Subject: Re: FAQ

use fork() and create many processes, AFAIK you can have 1000s of processes
 
/B
----- Original Message -----
From: 史绪良
Sent: Tuesday, November 05, 2002 18:18
Subject: FAQ

 
hello!!
    can you help me??
 
    my program need many thread, they will not exit never. but redhat
linux7.3 - linux8.0 only create 256 thread!! how can I do??
                                thanks!!
 
 
 
 
 

Reply via email to