omp_get_thread_limit

Purpose

Retrieves the maximum number of OpenMP threads stored in the thread-limit-var internal control variable that are available to the program. thread-limit-var can be set with the OMP_THREAD_LIMIT environment variable.

Prototype

int omp_get_thread_limit(void);