Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[tye]: apropos my several mentions of audit
[Corion]: At least my (non-SELinux) Debian has that config thing set. I don't have non-Debian machines handy (except Android)
[Corion]: My Android phone also has /proc/self/ loginuid, but that displays -1 (resp. 4GB). That might be because the phone is rooted.
[tye]: -1 means nobody logged in or the process was started before audit got booted
[davido]: ok, on my ubuntu system getlogin grabs from /proc/self/ loginuid (per strace)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-06-23 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.