[Openmp-commits] [openmp] r327875 - Fix for Fix for https://bugs.llvm.org/show_bug.cgi?id=36705.
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Mon Mar 19 11:05:15 PDT 2018
Author: achurbanov
Date: Mon Mar 19 11:05:15 2018
New Revision: 327875
URL: http://llvm.org/viewvc/llvm-project?rev=327875&view=rev
Log:
Fix for Fix for https://bugs.llvm.org/show_bug.cgi?id=36705.
Differential Revision: https://reviews.llvm.org/D44637
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=327875&r1=327874&r2=327875&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_runtime.cpp (original)
+++ openmp/trunk/runtime/src/kmp_runtime.cpp Mon Mar 19 11:05:15 2018
@@ -5476,6 +5476,7 @@ void __kmp_free_thread(kmp_info_t *this_
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);
More information about the Openmp-commits
mailing list