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

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

#include <thread>
#include <utility>
#include <vector>
#include <agrum/agrum.h>
#include <agrum/base/core/threads/threadsSTL_inl.h>
Include dependency graph for threadsSTL.h:
This graph shows which files directly or indirectly include this file:

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::getMaxNumberOfThreads ()
 Returns the maximum number of threads you should use at any time.
unsigned int gum::threadsSTL::getNumberOfThreads ()
 returns the max number of threads used by default when entering the next parallel region
unsigned int gum::threadsSTL::getNumberOfLogicalProcessors ()
 Get the number of logical processors.
void gum::threadsSTL::setNumberOfThreads (unsigned int number)
 Set the max number of threads to be used when entering the next parallel region.

Detailed Description

C++17 STL threads convenience utilities for aGrUM.

Author
Christophe GONZALES and Pierre-Henri WUILLEMIN

Definition in file threadsSTL.h.