GNU libgomp: omp_get_thread_limit

Next: omp_get_thread_num, Previous: omp_get_team_size, Up: Runtime Library Routines [Contents][Index]

### 2.19 `omp_get_thread_limit` – Maximum number of threads

Description:

  Return the maximum number of threads of the program.

C/C++:

  Prototype: | `int omp_get_thread_limit(void);`

Fortran:

  Interface: | `integer function omp_get_thread_limit()`

See also:

  omp_get_max_threads, OMP_THREAD_LIMIT

Reference:

  OpenMP specification v4.5, Section 3.2.14.