commit | f8e8d598bf8b2725baf87892119e6952819fce34 | [log] [tgz] |
---|---|---|
author | Andrey Churbanov <Andrey.Churbanov@intel.com> | Wed May 22 16:48:05 2019 +0000 |
committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | Wed May 22 16:48:05 2019 +0000 |
tree | a349541443c5aaab055383ae1eaf93f8bef567a4 | |
parent | 74813230782d697dab344b00b0db3788593237ee [diff] |
Fixed third issue reported in https://bugs.llvm.org/show_bug.cgi?id=41584. Removed wrong debug assertion. Differential Revision: https://reviews.llvm.org/D62251 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@361408 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/runtime/src/kmp_runtime.cpp b/runtime/src/kmp_runtime.cpp index 7da7f08..3f1dbfd 100644 --- a/runtime/src/kmp_runtime.cpp +++ b/runtime/src/kmp_runtime.cpp
@@ -4302,11 +4302,6 @@ KMP_ATOMIC_DEC(&__kmp_thread_pool_active_nth); new_thr->th.th_active_in_pool = FALSE; } -#if KMP_DEBUG - else { - KMP_DEBUG_ASSERT(new_thr->th.th_active == FALSE); - } -#endif __kmp_unlock_suspend_mx(new_thr); KA_TRACE(20, ("__kmp_allocate_thread: T#%d using thread T#%d\n",