Fixed https://bugs.llvm.org/show_bug.cgi?id=41584.
authorAndrey Churbanov <Andrey.Churbanov@intel.com>
Wed, 15 May 2019 16:53:45 +0000 (16:53 +0000)
committerAndrey Churbanov <Andrey.Churbanov@intel.com>
Wed, 15 May 2019 16:53:45 +0000 (16:53 +0000)
commit6ebb785bb1fda1c1d23dae601941edab1ca5dd79
tree4d73229a41c0e9ac04139705f260cbbb45a77be0
parentad08ea284ff0935acd069a1b9587bfd196e3b42b
Fixed https://bugs.llvm.org/show_bug.cgi?id=41584.

Removed unconditional and unsafe decrement of counter
of active threads in pool at shutdown time.

Differential Revision: https://reviews.llvm.org/D61944

llvm-svn: 360784
openmp/runtime/src/kmp_runtime.cpp