29 #include <casacore/casa/aips.h>
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();
bool nested()
Test if nested parallel sections are possible.
uInt numThreads()
Get the number of threads used in a parallel piece of code.
void setNumThreads(uInt)
Set the number of threads to use.
uInt threadNum()
Get the thread number (0 till numThreads).
uInt nMaxThreads()
Backward
void setNested(Bool)
Set if nested parallel sections are possible or not.
uInt maxThreads()
Get the maximum number of threads.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.