in reply to Re^2: threads::shared - when to lock a hash ?
in thread threads::shared - when to lock a hash ?
Just like a Prime Directive :-)
But I will quote his fine print:
Of course in all the above, "safe" means "not corrupting perl's internal state"; perl's internal locking causes all the reads and writes to be serialised. You may of course still need to do locking at a higher level to ensure the safety of your own code's logic
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: threads::shared - when to lock a hash ?
by BrowserUk (Patriarch) on Oct 16, 2011 at 20:50 UTC |