thanks for your answers. I immediatedly dug into IPC::ShareLite
and tried it and it works. However - itīs not what I need the
children just need to do compute intensive work - and after that
there is no need for the children anymore. So perhaps what I need
is more of a client - server communication, where the clients
(child-processes) are doing the computations, then sending about
1kB of data to the server(parent-process) and terminate themself
the parent process stores this data in a hash.
There is really no need for really "sharing" this information
just distributing work and then collecting the results.
I would like to stay at the fork-based approach, because threads
seem instable now, and because with Mosix (www.mosix.org) it
will be possible to even distribute this task on a beowulf
cluster - i hope.
Ciao
In reply to Re: FORRRRRK again...
by PetaMem
in thread FORRRRRK again...
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |