Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Kill and free the memory Never ending threads from main

by moritz (Cardinal)
on Aug 24, 2013 at 06:35 UTC ( #1050770=note: print w/ replies, xml ) Need Help??


in reply to Kill and free the memory Never ending threads from main

When you terminate the process, your operating system will clean up all the other threads for you.

To quote perlthrtut:

An action that terminates a process will terminate all running threads. die() and exit() have this property, and perl does an exit when the main thread exits, perhaps implicitly by falling off the end of your code, even if that's not what you want.

The rest of that section might also be relevant for you.


Comment on Re: Kill and free the memory Never ending threads from main

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-09-19 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls