44 return omp_get_max_threads();
57 { omp_set_num_threads (n); }
68 return omp_get_num_threads();
79 return omp_get_thread_num();
89 { omp_set_nested (nest); }
100 return omp_get_nested();
uInt numThreads()
Get the number of threads used in a parallel piece of code.
bool nested()
Test if nested parallel sections are possible.
void setNumThreads(uInt)
Set the number of threads to use.
uInt threadNum()
Get the thread number (0 till numThreads).
void setNested(Bool)
Set if nested parallel sections are possible or not.
uInt nMaxThreads()
Backward.
bool Bool
Define the standard types used by Casacore.
uInt maxThreads()
Get the maximum number of threads.