[PATCH] D44637: Fix for https://bugs.llvm.org/show_bug.cgi?id=36705

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 19 11:07:55 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL327875: Fix for Fix for https://bugs.llvm.org/show_bug.cgi?id=36705. (authored by achurbanov, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D44637?vs=138958&id=138967#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44637

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
@@ -5476,6 +5476,7 @@
     balign[b].bb.leaf_kids = 0;
   }
   this_th->th.th_task_state = 0;
+  this_th->th.th_reap_state = KMP_SAFE_TO_REAP;
 
   /* put thread back on the free pool */
   TCW_PTR(this_th->th.th_team, NULL);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44637.138967.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180319/ef017754/attachment.bin>


More information about the llvm-commits mailing list