[PATCH] Removing the static destructor from ManagedStatic.cpp by controlling the allocation and de-allocaation of the mutex.
Chris Bieneman
beanz at apple.com
Mon Oct 13 14:23:14 PDT 2014
This update has the following changes:
* Based on discussions about the avaialability of <mutex> I've removed the pthread implementation and all the autoconf/cmake associated changes.
* Moved away from macros to a template implementation
* All platforms other than MingW32 use std::call_once, MingW32 uses the hand-rolled solution.
http://reviews.llvm.org/D5473
Files:
include/llvm/Support/Threading.h
lib/Support/ManagedStatic.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5473.14823.patch
Type: text/x-patch
Size: 3078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141013/e53140fe/attachment.bin>
More information about the llvm-commits
mailing list