[PATCH] Replace the Execution Engine's mutex with std::recursive_mutex

Zachary Turner zturner at google.com
Wed Jun 18 10:19:26 PDT 2014


Hi dblaikie, rnk,

This replaces the EE's mutex with std::recursive_mutex.

This change has a bit of a trickle-down effect, due to the fact that the EE's mutex is not self-contained, and is used by a number of derived implementations, as well as exposed and used directly by the ValueMap class.  So all of these must be changed at once in the same CL, and there's no good way to break it up.

http://reviews.llvm.org/D4196

Files:
  include/llvm/ExecutionEngine/ExecutionEngine.h
  include/llvm/IR/ValueMap.h
  lib/ExecutionEngine/ExecutionEngine.cpp
  lib/ExecutionEngine/JIT/JIT.cpp
  lib/ExecutionEngine/JIT/JITEmitter.cpp
  lib/ExecutionEngine/MCJIT/MCJIT.cpp
  unittests/IR/ValueMapTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4196.10575.patch
Type: text/x-patch
Size: 22304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140618/99d0622e/attachment.bin>


More information about the llvm-commits mailing list