diff options
author | Kwok Cheung Yeung <kcy@codesourcery.com> | 2021-05-14 09:59:11 -0700 |
---|---|---|
committer | Kwok Cheung Yeung <kcy@codesourcery.com> | 2021-05-17 13:15:08 -0700 |
commit | ba886d0c488ebea2eb2df95c2069a3e207704dac (patch) | |
tree | c9977390cd9f7894ebc1837bbce68272f951d934 /gcc | |
parent | 5d93261bc03c9c6891ccd8c77ab22b2a09971905 (diff) | |
download | gcc-ba886d0c488ebea2eb2df95c2069a3e207704dac.zip gcc-ba886d0c488ebea2eb2df95c2069a3e207704dac.tar.gz gcc-ba886d0c488ebea2eb2df95c2069a3e207704dac.tar.bz2 |
openmp: Notify team barrier of pending tasks in omp_fulfill_event
The team barrier should be notified of any new tasks that become runnable
as the result of a completing task, otherwise the barrier threads might
not resume processing available tasks, resulting in a hang.
2021-05-17 Kwok Cheung Yeung <kcy@codesourcery.com>
libgomp/
* task.c (omp_fulfill_event): Call gomp_team_barrier_set_task_pending
if new tasks generated.
* testsuite/libgomp.c-c++-common/task-detach-13.c: New.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions