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

Re: PERL issues a "lock can only be used on shared values" when locking a shared hash

by sundialsvc4 (Monsignor)
on Apr 25, 2013 at 22:33 UTC ( #1030743=note: print w/ replies, xml ) Need Help??


in reply to PERL issues a "lock can only be used on shared values" when locking a shared hash

Now, here is a pure-curiosity question ... since I try to avoid perlguts as much as possible.   What is the entity that lock actually locks?   Is it an item of data, or is it a symbol-table entry?   If you have two variables referring to the same piece of data, say, and lock one of them, what is actually going to be seen as locked or not?


Comment on Re: PERL issues a "lock can only be used on shared values" when locking a shared hash
Re^2: PERL issues a "lock can only be used on shared values" when locking a shared hash
by bulk88 (Priest) on Apr 26, 2013 at 02:49 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (17)
As of 2014-08-27 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (242 votes), past polls