summaryrefslogtreecommitdiff
path: root/mg_vtable.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-21 04:46:51 -0600
committerKarl Williamson <khw@cpan.org>2020-10-23 07:07:27 -0600
commitb0441c5bc62aa2ba1980c5ae151db48af58bcfcf (patch)
tree7ffc9f208c3850686a7d5525db38d6c7f65fcee1 /mg_vtable.h
parent65ff256a878d82cdb1d89d1c272a696485588dcc (diff)
downloadperl-b0441c5bc62aa2ba1980c5ae151db48af58bcfcf.tar.gz
t/loc_tools.pl: Consider thread 0 always locale-safe
Test files call this code to see if locales are enabled. Prior to this commit, it returned that they were disabled on builds where there are possible races between threads. This was to silence some rarely occurring smoke failures. But that had the result that such builds didn't get locales tested at all, even if there was just a single thread operating. This commit changes it so that when called from other than the main thread on such a system, it returns disabled, but enabled for the main thread.
Diffstat (limited to 'mg_vtable.h')
0 files changed, 0 insertions, 0 deletions