diff options
| author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2018-03-19 18:05:15 +0000 |
|---|---|---|
| committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2018-03-19 18:05:15 +0000 |
| commit | 3336aa0d07742f12e7074612da550575874701e8 (patch) | |
| tree | 8a21384fa4b006e3a7fb5ef9702a2287428ba615 /openmp/runtime/src | |
| parent | 836cfb3a4c3a218ee9a922f87853ab374f119697 (diff) | |
| download | bcm5719-llvm-3336aa0d07742f12e7074612da550575874701e8.tar.gz bcm5719-llvm-3336aa0d07742f12e7074612da550575874701e8.zip | |
Fix for Fix for https://bugs.llvm.org/show_bug.cgi?id=36705.
Differential Revision: https://reviews.llvm.org/D44637
llvm-svn: 327875
Diffstat (limited to 'openmp/runtime/src')
| -rw-r--r-- | openmp/runtime/src/kmp_runtime.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp index a092a0e02ca..0e9619028ea 100644 --- a/openmp/runtime/src/kmp_runtime.cpp +++ b/openmp/runtime/src/kmp_runtime.cpp @@ -5476,6 +5476,7 @@ void __kmp_free_thread(kmp_info_t *this_th) { 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); |

