in reply to PERL: stop and restart parent process without killing child
Another alternative would be to switch to threads. Put the code that used to be your parent, into a thread, and you can halt the thread, then reuse or restart it with fresh virgin data.
|
|---|