[Openmp-commits] [PATCH] D62251: Fix for third case reported in https://bugs.llvm.org/show_bug.cgi?id=41584

Phabricator via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed May 22 09:48:56 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL361408: Fixed third issue reported in https://bugs.llvm.org/show_bug.cgi?id=41584. (authored by achurbanov, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D62251?vs=200710&id=200777#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62251/new/

https://reviews.llvm.org/D62251

Files:
  openmp/trunk/runtime/src/kmp_runtime.cpp


Index: openmp/trunk/runtime/src/kmp_runtime.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_runtime.cpp
+++ openmp/trunk/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",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62251.200777.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190522/418edbb8/attachment-0001.bin>


More information about the Openmp-commits mailing list