diff options
author | Karl Williamson <khw@cpan.org> | 2020-03-15 21:33:19 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-03-18 18:05:49 -0600 |
commit | 80c27f7759951db3715dacf7a5c2179434a6e679 (patch) | |
tree | a452378fd4efdbbbb2802ae22ebd814a6368f3ec /reentr.h | |
parent | e0be78213ff4362a011b8be77ba8af2d5a307178 (diff) | |
download | perl-80c27f7759951db3715dacf7a5c2179434a6e679.tar.gz |
perl.h: Add ENV_LOCALE (UN)?LOCK macros
These are eventually intended to lock both the environment and locale
mutexes, but it is too late in the current development cycle to do that.
Instead these are, for now, equivalent to a plain ENV mutex.
(On many modern platforms, the locale mutex is a no-op, so not doing it
is not actually a problem.)
In the meantime, this gives significant better thread safety than what
has been in effect.
Diffstat (limited to 'reentr.h')
0 files changed, 0 insertions, 0 deletions