summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-11-26 20:20:42 +0000
committerKamil Rytarowski <n54@gmx.com>2017-11-26 20:20:42 +0000
commit52a294e522871b1ad07ffa8ffeb5c37f45fb9012 (patch)
tree3cc55e2e8b1b8fb7a94c95650029d3bffc7f8925 /cmake
parent7880b25a1d0531e386729051f432571455180088 (diff)
Prevent Thread Exited/Joined events race
Summary: Add atomic verification to ensure that Thread is Joined after marking it Finished. It is required for NetBSD in order to prevent Thread Exited/Joined race, that may occur when native system libpthread(3) cannot be reliably traced in a way to guarantee that the mentioned events happen one after another. This change fixes at least TSan and LSan on NetBSD. Sponsored by <The NetBSD Foundation> Reviewers: joerg, dvyukov, vitalybuka Reviewed By: dvyukov Subscribers: llvm-commits, kubamracek, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D40294 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions