72 if (number == 0) number = 1;
void setNumberOfThreads(unsigned int number)
Set the max number of threads to be used when entering the next parallel region.
unsigned int getMaxNumberOfThreads()
Returns the maximum number of threads you should use at any time.
static unsigned int _nb_threads_
unsigned int getNumberOfThreads()
returns the max number of threads used by default when entering the next parallel region
gum is the global namespace for all aGrUM entities
C++17 STL threads convenience utilities for aGrUM.
C++17 STL threads convenience utilities for agrum.