SUNphi
1.0
|
Provides a thread pool. More...
#include <external/inplace_function.h>
#include <Tuple.hpp>
#include <containers/Vector.hpp>
#include <debug/MinimalCrash.hpp>
#include <ios/MinimalLogger.hpp>
#include <threads/Barrier.hpp>
#include <threads/Mutex.hpp>
#include <threads/Thread.hpp>
Go to the source code of this file.
Classes | |
class | SUNphi::ThreadPool |
Dummy thread pool. More... | |
Variables | |
ThreadPool | SUNphi::threads |
Global thread pool. More... | |
Provides a thread pool.
The thread pool is implemented through pthread
library, so we can start and stop the threads in every moment of the execution, at variance with the static-behavior of Nissa
library, where the program would have opened a OpenMP
parallel statement and jumped inside it.
Definition in file Pool.hpp.
ThreadPool SUNphi::threads |