Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Do threads do global destruction?

by dave_the_m (Prior)
on Nov 09, 2012 at 21:42 UTC ( #1003207=note: print w/replies, xml ) Need Help??


in reply to Do threads do global destruction?

Each thread has its PL_perl_destruct_level variable set to 2; this is the internal equivalent of the PERL_DESTRUCT_LEVEL environment variable. The net effect is that when the thread is being freed after joining, all data structures associated with that thread are freed (modulo bugs).

Dave.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003207]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-10-21 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (269 votes). Check out past polls.

    Notices?