![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Do threads do global destruction?by dave_the_m (Monsignor) |
on Nov 09, 2012 at 21:42 UTC ( [id://1003207]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|