48#ifndef AGRUM_THREAD_NUMBER_MANAGER_H
49#define AGRUM_THREAD_NUMBER_MANAGER_H
The interface for the ThreadNumberManager.
bool isGumNumberOfThreadsOverriden() const
indicates whether the class containing this ThreadNumberManager set its own number of threads
ThreadNumberManager(ThreadNumberManager &&from)
move constructor
Size _nb_threads_
the max number of threads used by the class
ThreadNumberManager(const ThreadNumberManager &from)
copy constructor
virtual Size getNumberOfThreads() const
returns the current max number of threads used by the class containing this ThreadNumberManager
ThreadNumberManager(Size nb_threads=0)
default constructor
virtual void setNumberOfThreads(Size nb)
sets the number max of threads to be used by the class containing this ThreadNumberManager
ThreadNumberManager & operator=(const ThreadNumberManager &from)
copy operator
virtual ~ThreadNumberManager()
destructor
ThreadNumberManager & operator=(ThreadNumberManager &&from)
move operator
std::size_t Size
In aGrUM, hashed values are unsigned long int.
gum is the global namespace for all aGrUM entities
Utility functions used for exploiting OpenMP/STL parallelism.