aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeyton, Jonathan L <jonathan.l.peyton@intel.com>2020-11-02 15:46:29 -0600
committerPeyton, Jonathan L <jonathan.l.peyton@intel.com>2020-11-11 13:47:23 -0600
commitdd8723d348c9e6182155233a62769024dd345c6b (patch)
tree0d7e75e4f2e507eac9348ec72849af0eb4359cb0 /clang/lib/Frontend/CompilerInvocation.cpp
parent956c899296dc19593c66b06af87e60564dff18e0 (diff)
downloadllvm-dd8723d348c9e6182155233a62769024dd345c6b.zip
llvm-dd8723d348c9e6182155233a62769024dd345c6b.tar.gz
llvm-dd8723d348c9e6182155233a62769024dd345c6b.tar.bz2
[OpenMP] Fix shutdown hang/race bug
The deadlock/race happens when primary thread gets initz lock and tries to join the worker thread which waits for the same lock in TLS key destructor. The patch removes the lock and the code of setting TLS value which needed the lock. Also removed setting TLS from __kmp_unregister_root_current_thread. Differential Revision: https://reviews.llvm.org/D90647
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions