http://www.perlmonks.org?node_id=1009858


in reply to Re^2: lock with references
in thread lock with references

I have to use references, as two or more shared hashes are changed in 1 chunk of code, and seperating the commands is far too time consuming....I have never worked with threads,...

I've done lots of work with threads; and that first sentence makes no sense to me at all.

Are these references, references to shared scalars as indicated in your first post?

Or references to hashes as implied here?

Or possibly references to scalars that are values in a shared hash?

Or references to shared scalars that are values in a non-shard hash?

Or...?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong