[PATCH] Remove support for runtime multithreading

Zachary Turner zturner at google.com
Fri Jun 13 11:42:37 PDT 2014


Hi dblaikie, rnk,

This is a resubmit of r210600 (Differential Revision D4076).   This probably only needs a quick glance since the previous change was already reviewed, however this change differs from the previous submission in 3 important ways:

1) Conversions from sys::Mutex to std::[recursive_]mutex are removed, to reduce the scope of the changes.  Those will be submitted later as a separate changelist.

2) Some compilation errors were fixed in unittests that only occur on linux.

3) An instance of undefined behavior was fixed that was leading to crashes on FreeBSD.  See the comment in ErrorHandling.cpp.

http://reviews.llvm.org/D4139

Files:
  include/llvm-c/Core.h
  include/llvm/Support/ErrorHandling.h
  include/llvm/Support/ManagedStatic.h
  include/llvm/Support/Mutex.h
  include/llvm/Support/Threading.h
  lib/IR/Core.cpp
  lib/Support/ErrorHandling.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: D4139.10399.patch
Type: text/x-patch
Size: 12170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140613/f01ba335/attachment.bin>


More information about the llvm-commits mailing list