|Just another Perl shrine|
Re: Kill and free the memory Never ending threads from mainby BrowserUk (Pope)
|on Aug 24, 2013 at 06:35 UTC||Need Help??|
But when I am exiting the threads are still running I want to free all the space occupied by this threads and then exit from the script
When your main thread exits; any other threads will be killed and cleaned up automatically.
If you wish to suppress this oh so useful informational message:
Just detach the threads:
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.