Added missed initialization of the td_last_tied field for taskloop tasks.
Without this the test hang because of task-stealing-constraint mistakenly prevented child tasks to be executed by the parent.
| Paths 
 |  Differential  D75673  
[runtime] Fixed hang when explicit task created inside a taskloop. ClosedPublic Authored by AndreyChurbanov on Mar 5 2020, 4:13 AM. 
Details Summary Added missed initialization of the td_last_tied field for taskloop tasks. Without this the test hang because of task-stealing-constraint mistakenly prevented child tasks to be executed by the parent. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 23 2020, 6:30 AM Closed by commit rGae044467ede1: [openmp][runtime] Fixed hang for explicit task inside a taskloop. (authored by AndreyChurbanov).  ·  Explain WhyMar 23 2020, 10:22 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 251093 openmp/runtime/src/kmp_tasking.cpp
 openmp/runtime/test/tasking/omp_task_red_taskloop.c
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||