Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by sundialsvc4 (Abbot)
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 examining the Monastery: (6)
As of 2014-12-28 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls