tsan: catch races on condition variables

llvm-svn: 189816
3 files changed