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.
In reply to Re^5: is ||= threadsafe?
by ikegami
in thread is ||= threadsafe?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |