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.
Now who being ... What was that word you called me?
Perl takes care of protecting any internal changes.
Ie. refcounts; flags; SV upgrades; UTF upgrades; anything that is not (normally) changed directly by the programmer.
Eg, all 3 things you cited in your original post and many more.
The programmer is responsible for locking the variable itself.
In reply to Re^6: is ||= threadsafe?
by BrowserUk
in thread is ||= threadsafe?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |