[Openmp-commits] [openmp] r361408 - Fixed third issue reported in https://bugs.llvm.org/show_bug.cgi?id=41584.
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Wed May 22 09:48:05 PDT 2019
Author: achurbanov
Date: Wed May 22 09:48:05 2019
New Revision: 361408
URL: http://llvm.org/viewvc/llvm-project?rev=361408&view=rev
Log:
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
Modified:
openmp/trunk/runtime/src/kmp_runtime.cpp
Modified: openmp/trunk/runtime/src/kmp_runtime.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_runtime.cpp?rev=361408&r1=361407&r2=361408&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_runtime.cpp (original)
+++ openmp/trunk/runtime/src/kmp_runtime.cpp Wed May 22 09:48:05 2019
@@ -4302,11 +4302,6 @@ kmp_info_t *__kmp_allocate_thread(kmp_ro
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",
More information about the Openmp-commits
mailing list