Go to file
Mark Seaborn 552d9e49d9 Fix RWMutex to be thread-safe when pthread_rwlock is not available
lib/Support/RWMutex.cpp contains an implementation of RWMutex that
uses pthread_rwlock, but when pthread_rwlock is not available (such as
under NaCl, when using newlib), it silently falls back to using the
no-op definition in lib/Support/Unix/RWMutex.inc, which is not
thread-safe.

Fix this case to be thread-safe by using a normal mutex.

Differential Revision: http://llvm-reviews.chandlerc.com/D2892

llvm-svn: 202570
2014-03-01 04:30:32 +00:00
clang Fixed an assertion failure related to bitfield lowering. 2014-03-01 00:38:40 +00:00
clang-tools-extra Add new 'remark' diagnostic type 2014-02-28 09:42:12 +00:00
compiler-rt tsan: add standalone deadlock detector 2014-02-28 14:52:20 +00:00
debuginfo-tests Relax testcase: Newer versions of LLDB don't necessarily print the "{". 2014-02-27 17:51:50 +00:00
libclc Fix build since r202052 2014-02-24 21:31:56 +00:00
libcxx More LWG issues. Mark #2182, #2323 and #2213 as complete. Add a test for #2339, and mark that as complete. No actual changes to the libc++ code; all of these were already in place. 2014-02-27 16:13:36 +00:00
libcxxabi Demangle Dc to decltype(auto) as per the Itanium C++ ABI spec. 2014-02-17 21:56:01 +00:00
lld [C++1y] Don't error if the user is enabling C++1y, which is *newer* than 2014-03-01 03:18:56 +00:00
lldb Make sure the exe_ctx passed to ClangUserExpression::Execute has a valid thread. 2014-03-01 00:17:06 +00:00
llvm Fix RWMutex to be thread-safe when pthread_rwlock is not available 2014-03-01 04:30:32 +00:00
openmp Add support for FreeBSD 2014-02-28 09:42:41 +00:00
polly cmake: Do not link in system libs 2014-02-28 10:11:20 +00:00