summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/class_members
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-11-24 13:28:27 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-11-24 13:28:27 +0000
commit941d0a756a0d5b37edaa6d0332ae46f0bc32cded (patch)
tree81dbe1810f12138fe321b080b169de87d0df3a25 /lldb/packages/Python/lldbsuite/test/python_api/class_members
parent377cafbbbcc98f2cf19c72605b7bcc5fa3fcf0f3 (diff)
downloadbcm5719-llvm-941d0a756a0d5b37edaa6d0332ae46f0bc32cded.tar.gz
bcm5719-llvm-941d0a756a0d5b37edaa6d0332ae46f0bc32cded.zip
[tsan] Replace pthread semaphore in signal_cond.cc with barrier_wait
Pthread semaphores are not available on OS X. Let's replace sem_wait/sem_post with barrier_wait, which makes the test pass on OS X. I know that sem_wait/sem_post is intercepted by TSan, whereas barrier_wait is TSan-invisible, but the purpose of the test is not affected by this. Also, let's properly initialize the mutex and cond variables. Differential Revision: http://reviews.llvm.org/D14924 llvm-svn: 253980
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/class_members')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud