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


3.24 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 – Maximum number of threads of parallel region, OMP_THREAD_LIMIT – Set the maximum number of threads

Reference:

OpenMP specification v4.5, Section 3.2.14.