summaryrefslogtreecommitdiffstats
path: root/openmp/offload/src/offload_engine.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-04-09 14:48:25 +0000
committerEd Maste <emaste@freebsd.org>2014-04-09 14:48:25 +0000
commit65629832343b34047523d1a19d564aca351e28f9 (patch)
tree430aef59f0dd57061ca2ef7dcea42dd2673786cb /openmp/offload/src/offload_engine.cpp
parent16f98b255d213a7ca599c0d07119e96e96206ee9 (diff)
downloadbcm5719-llvm-65629832343b34047523d1a19d564aca351e28f9.tar.gz
bcm5719-llvm-65629832343b34047523d1a19d564aca351e28f9.zip
Do not rely on invalid pthread API use in thread test
Calling mutex_lock from one thread and then mutex_unlock from another is not permitted. Replace the awkward mutex usage with a mutex and condition variable. llvm.org/pr18061 llvm-svn: 205900
Diffstat (limited to 'openmp/offload/src/offload_engine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud