Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: How do I get a unique Perl Interpreter ID?

by wrog (Friar)
on Dec 02, 2011 at 21:42 UTC ( [id://941436]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I get a unique Perl Interpreter ID?
in thread How do I get a unique Perl Interpreter ID?

okay, this, with some minor changes, now exists as Thread::IID:
  • (UV) instead of (IV).
  • left off the 'get_'
  • returns PERL_GET_THX>>11 because PerlInterpreter structures are Just Huge (2800 bytes in my world) and this reduces the returned numbers somewhat.
Enjoy. And thanks.
  • Comment on Re^2: How do I get a unique Perl Interpreter ID?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found