[PATCH] Kill the LLVM global lock

Zachary Turner zturner at google.com
Mon Jun 16 10:53:35 PDT 2014


Remove the global lock entirely, and bootstrap a call_once initialized' mutex in ManagedStatic that is safe for use during static construction.

http://reviews.llvm.org/D4142

Files:
  docs/ProgrammersManual.rst
  include/llvm-c/Core.h
  include/llvm/Support/ManagedStatic.h
  include/llvm/Support/Mutex.h
  include/llvm/Support/Threading.h
  lib/IR/Core.cpp
  lib/Support/ManagedStatic.cpp
  lib/Support/Threading.cpp
  lib/Support/Timer.cpp
  unittests/Support/ManagedStatic.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4142.10451.patch
Type: text/x-patch
Size: 13574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140616/0247f6d9/attachment.bin>


More information about the llvm-commits mailing list