[PATCH] D19271: Change CALL_ONCE_INITIALIZATION implementation to use static initialization
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 10:49:24 PDT 2016
rnk added a comment.
Initialization of local statics is not thread safe in VS 2013, so no, this approach doesn't work. There was some other mingw issue with std::call_once. Ask Chris about this, it's horrible.
These problems will go away when our support floor is VS 2015.
http://reviews.llvm.org/D19271
More information about the llvm-commits
mailing list