aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
threadsSTL.cpp File Reference

C++17 STL threads convenience utilities for agrum. More...

Include dependency graph for threadsSTL.cpp:

Go to the source code of this file.

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities
namespace  gum::threadsSTL

Functions

unsigned int gum::threadsSTL::getNumberOfThreads ()
 returns the max number of threads used by default when entering the next parallel region
void gum::threadsSTL::setNumberOfThreads (unsigned int number)
 Set the max number of threads to be used when entering the next parallel region.

Variables

static unsigned int gum::threadsSTL::_nb_threads_ {getMaxNumberOfThreads()}

Detailed Description

C++17 STL threads convenience utilities for agrum.

Author
Christophe GONZALES and Pierre-Henri WUILLEMIN

Definition in file threadsSTL.cpp.