[PATCH] Removing the static initializer in ManagedStatic.cpp by using llvm_call_once to initialize the ManagedStatic mutex.

Chris Bieneman beanz at apple.com
Thu Oct 30 14:30:34 PDT 2014


Went back to the hand-rolled non-std::atomic version due to issues Reid pointed out.

http://reviews.llvm.org/D5922

Files:
  include/llvm/Support/Threading.h
  lib/Support/CMakeLists.txt
  lib/Support/ManagedStatic.cpp
  lib/Support/Threading.cpp
  lib/Support/Unix/Threading.inc
  lib/Support/Windows/Threading.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5922.15580.patch
Type: text/x-patch
Size: 4762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141030/3c17e5c5/attachment.bin>


More information about the llvm-commits mailing list