Next: omp_get_max_task_priority, Previous: omp_get_level, Up: Runtime Library Routines [Contents][Index]

### 2.7 `omp_get_max_active_levels` – Maximum number of active regions

Description:

  This function obtains the maximum allowed number of nested, active parallel regions.

C/C++

  Prototype: | `int omp_get_max_active_levels(void);`

Fortran:

  Interface: | `integer function omp_get_max_active_levels()`

See also:

  omp_set_max_active_levels, omp_get_active_level

Reference:

  OpenMP specification v4.5, Section 3.2.16.