I cannot use fork() because of the overhead of spawning (and reaping) multiple real processes.Why not pre-fork them and leave them up, communicating with them via a shared memory "scoreboard" (a la Apache)?
Also, you might find POE useful.
In reply to Re: Reliable asynchronous processing
by eyepopslikeamosquito
in thread Reliable asynchronous processing
by Codon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |