Teams Region Routines (GNU libgomp)

Next: Multidimensional Support Routines, Previous: Thread Affinity Routines, Up: OpenMP Runtime Library Routines [Contents][Index]

### 3.3 Teams Region Routines ¶

Routines controlling the league of teams that are executed in a `teams` region. They have C linkage and do not throw exceptions.

- `omp_get_num_teams` – Number of teams
- `omp_get_team_num` – Get team number
- `omp_set_num_teams` – Set upper teams limit for teams construct
- `omp_get_max_teams` – Maximum number of teams of teams region
- `omp_set_teams_thread_limit` – Set upper thread limit for teams construct
- `omp_get_thread_limit` – Maximum number of threads