in reply to Re^4: is ||= threadsafe?
in thread is ||= threadsafe?
unless it is applied to a shared variable.
I've only talked about shared variables.
Any Perl operation applied to any shared variable is not thread-safe unless you take locks.
As I understood things, tye and you said Perl did the locking for the programmer when it came to the state of the SV. Now you're saying I need to take locks myself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: is ||= threadsafe? (user locking)
by tye (Sage) on Oct 25, 2010 at 19:43 UTC | |
by ikegami (Patriarch) on Oct 25, 2010 at 22:02 UTC | |
|
Re^6: is ||= threadsafe?
by BrowserUk (Patriarch) on Oct 25, 2010 at 18:45 UTC | |
by ikegami (Patriarch) on Oct 25, 2010 at 21:59 UTC | |
by BrowserUk (Patriarch) on Oct 25, 2010 at 22:38 UTC |