Lines Matching defs:team
91 in the contention group. If thr->team is NULL, this isn't
95 if (thr->ts.team == NULL || pool == NULL)
144 struct gomp_team *team = thr->ts.team;
145 unsigned int nthreads = team ? team->nthreads : 1;
151 if (thr->ts.team == NULL)
206 struct gomp_team *team = thr->ts.team;
209 if (team == NULL)
211 return team->work_share_cancelled != 0;
228 if (team)
229 return gomp_team_barrier_cancelled (&team->barrier);
244 struct gomp_team *team = thr->ts.team;
249 if (team != NULL)
250 team->work_share_cancelled = 1;
262 gomp_mutex_lock (&team->task_lock);
264 gomp_mutex_unlock (&team->task_lock);
269 team->team_cancelled = 1;
270 gomp_team_barrier_cancel (team);
275 /* The public OpenMP API for thread and team related inquiries. */
280 struct gomp_team *team = gomp_thread ()->ts.team;
281 return team ? team->nthreads : 1;
292 it is non-zero with more than one thread in the team. */
313 ts = &ts->team->prev_ts;
324 ts = &ts->team->prev_ts;
325 if (ts->team == NULL)
328 return ts->team->nthreads;