[libcxx] r240527 - Make support for thread-unsafe C functions optional.

Ed Schouten ed at nuxi.nl
Wed Jun 24 04:33:24 PDT 2015


2015-06-24 13:19 GMT+02:00 Joerg Sonnenberger <joerg at britannica.bec.de>:
> Note that setlocale() *is* thread-safe on a correctly implemented UNIX.
> It is a bug if you don't get consistent results with a clear
> before-after semantic even when other threads call locale-sensitive
> funcctions concurrently.

Exactly!

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717



More information about the cfe-commits mailing list