summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExternalASTSource.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-06-30 17:23:29 +0000
committerDmitry Vyukov <dvyukov@google.com>2015-06-30 17:23:29 +0000
commit1d9b5e6eced452c671e77ac924bd1fd4808716ee (patch)
treed8287c2f86f35b45d9bacd439a45513056cf9bc7 /clang/lib/AST/ExternalASTSource.cpp
parent01ee64c2eaf996a5360a4a81f12c260868e107fd (diff)
downloadbcm5719-llvm-1d9b5e6eced452c671e77ac924bd1fd4808716ee.tar.gz
bcm5719-llvm-1d9b5e6eced452c671e77ac924bd1fd4808716ee.zip
tsan: fix handling of condition variable destruction
POSIX states that "It shall be safe to destroy an initialized condition variable upon which no threads are currently blocked", and later clarifies "A condition variable can be destroyed immediately after all the threads that are blocked on it are awakened) (in examples section). Tsan reported such destruction as a data race. Fixes https://llvm.org/bugs/show_bug.cgi?id=23616 Reviewed in http://reviews.llvm.org/D10693 llvm-svn: 241082
Diffstat (limited to 'clang/lib/AST/ExternalASTSource.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud