[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 15:35:12 PDT 2014


Updated to have all non-MingW platforms use std::call_once, and MingW platforms use thread safe static initialization.

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.14831.patch
Type: text/x-patch
Size: 2609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141013/48b58b94/attachment.bin>


More information about the llvm-commits mailing list