in reply to Unload ithread

If you can keep the parent process going, you can use sleeping threads. See Reusable threads demo. Just put your thread into a sleep state. Of course your thread code block must have a convenient place to be interrupted.

As an afterthought, you might want to look at the shell mechanisms for suspending processes in the background, google for "bash suspend" for the idea.


I'm not really a human, but I play one on earth Remember How Lucky You Are