The deadlock happens when the 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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo