|author||Rich Felker <email@example.com>||2015-05-27 00:22:43 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2015-05-27 00:28:46 -0400|
replace atomics with locks in locale-setting code
this is part of a general program of removing direct use of atomics where they are not necessary to meet correctness or performance needs, but in this case it's also an optimization. only the global locale needs synchronization; allocated locales referenced with locale_t handles are immutable during their lifetimes, and using atomics to initialize them increases their cost of setup.
Diffstat (limited to 'src/locale/newlocale.c')
0 files changed, 0 insertions, 0 deletions