[PATCH] Removing the static initializer in ManagedStatic.cpp by using llvm_call_once to initialize the ManagedStatic mutex.
Chris Bieneman
beanz at apple.com
Tue Oct 28 15:14:51 PDT 2014
New patches based on feedback.
Updates in these patches:
* Broke Windows and Unix code out into separate Windows.inc files.
* Windows implementation uses <atomic> implementation provided by majnemer.
These patches are tested on Windows and Unix.
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.15529.patch
Type: text/x-patch
Size: 5730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141028/de8ada02/attachment.bin>
More information about the llvm-commits
mailing list