diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-11 21:43:45 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-11 21:43:45 +0000 |
commit | 9ead5ba09452820435a61778a944899a0254e021 (patch) | |
tree | e006f479132d2c9ab9f0c35199cdcdd31925db16 /libgomp/libgomp.h | |
parent | 4269e8535352196970285286f1dfc847b09e3173 (diff) | |
download | gcc-9ead5ba09452820435a61778a944899a0254e021.tar.gz |
* libgomp.h (struct gomp_task): Add in_tied_task field.
* task.c (gomp_init_task): Initialize it.
(GOMP_task): Likewise. Call gomp_team_barrier_set_task_pending
unconditionally. Don't call gomp_team_barrier_wake if
current task is implicit or if(0) from implicit and number of
running tasks is equal to nthreads - 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/libgomp.h')
-rw-r--r-- | libgomp/libgomp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/libgomp.h b/libgomp/libgomp.h index 66180122c1e..7292358b9aa 100644 --- a/libgomp/libgomp.h +++ b/libgomp/libgomp.h @@ -253,6 +253,7 @@ struct gomp_task void *fn_data; enum gomp_task_kind kind; bool in_taskwait; + bool in_tied_task; gomp_sem_t taskwait_sem; }; |