in reply to multiple fork()
You get back an object which supports methods that allow you to ask if the subprocess has finished, and if so what the subroutine's return value was.
If you're interested in how to handle the fork stuff yourself, the code for Async might be worth looking at; it's pretty simple.
Happy Bicycle Day!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: multiple fork()
by Galen (Beadle) on Apr 16, 2001 at 20:48 UTC | |
by tilly (Archbishop) on Apr 16, 2001 at 21:07 UTC | |
by Galen (Beadle) on Apr 16, 2001 at 21:20 UTC | |
by Dominus (Parson) on Apr 16, 2001 at 22:50 UTC | |
by Galen (Beadle) on Apr 16, 2001 at 22:54 UTC | |
by Dominus (Parson) on Apr 16, 2001 at 22:46 UTC |