문제

Does clang++ do threadsafe initialisation of local static variables?

GCC does, unless you turn it off with the misleadingly named -fno-threadsafe-statics. I'm using Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM 2.9svn).

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top