Lines Matching defs:team
31 then the task may be executed by any member of the team. */
40 struct gomp_team *team = thr->ts.team;
53 if (team && gomp_team_barrier_cancelled (&team->barrier))
164 num_tasks = team ? team->nthreads : 1;
209 if ((flags & GOMP_TASK_FLAG_IF) == 0 || team == NULL
211 || team->task_count + num_tasks > 64 * team->nthreads)
253 gomp_mutex_lock (&team->task_lock);
255 gomp_mutex_unlock (&team->task_lock);
285 gomp_mutex_lock (&team->task_lock);
287 gomp_mutex_unlock (&team->task_lock);
332 gomp_mutex_lock (&team->task_lock);
338 if (gomp_team_barrier_cancelled (&team->barrier))
341 gomp_mutex_unlock (&team->task_lock);
376 priority_queue_insert (PQ_TEAM, &team->task_queue, task, priority,
380 ++team->task_count;
381 ++team->task_queued_count;
383 gomp_team_barrier_set_task_pending (&team->barrier);
384 if (team->task_running_count + !parent->in_tied_task
385 < team->nthreads)
387 do_wake = team->nthreads - team->task_running_count
394 gomp_mutex_unlock (&team->task_lock);
396 gomp_team_barrier_wake (&team->barrier, do_wake);