Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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

Replies are listed 'Best First'.
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 taking refuge in the Monastery: (4)
As of 2016-06-29 01:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (365 votes). Check out past polls.