Home | History | Annotate | Download | only in posix

Lines Matching defs:team

123       struct gomp_team *team = thr->ts.team;
125 team->work_share_cancelled = 0;
126 if (team->task_count)
185 struct gomp_team *team = thr->ts.team;
187 team->work_share_cancelled = 0;
188 if (team->task_count)
272 gomp_team_barrier_cancel (struct gomp_team *team)
274 if (team->barrier.generation & BAR_CANCELLED)
276 gomp_mutex_lock (&team->barrier.mutex1);
277 gomp_mutex_lock (&team->task_lock);
278 if (team->barrier.generation & BAR_CANCELLED)
280 gomp_mutex_unlock (&team->task_lock);
281 gomp_mutex_unlock (&team->barrier.mutex1);
284 team->barrier.generation |= BAR_CANCELLED;
285 gomp_mutex_unlock (&team->task_lock);
286 if (team->barrier.cancellable)
288 int n = team->barrier.arrived;
292 gomp_sem_post (&team->barrier.sem1);
294 gomp_sem_wait (&team->barrier.sem2);
296 team->barrier.cancellable = false;
298 gomp_mutex_unlock (&team->barrier.mutex1);