diff options
author | Ed Maste <emaste@freebsd.org> | 2014-04-09 14:48:25 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-04-09 14:48:25 +0000 |
commit | 65629832343b34047523d1a19d564aca351e28f9 (patch) | |
tree | 430aef59f0dd57061ca2ef7dcea42dd2673786cb /openmp/offload/src/offload_engine.cpp | |
parent | 16f98b255d213a7ca599c0d07119e96e96206ee9 (diff) | |
download | bcm5719-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