class
#include <eckit/thread/ThreadPool.h>
ThreadPool
Constructors, destructors, conversion operators
-
ThreadPool(const std::
string& name, size_t count, size_t stack = 0) - ~ThreadPool()
Public functions
- void push(ThreadPoolTask*)
-
void push(std::
list<ThreadPoolTask*>&) - auto next() -> ThreadPoolTask*
- void notifyStart()
- void notifyEnd()
- void waitForThreads()
-
auto name() const -> const std::
string& -
void error(const std::
string&) - void wait()
- auto done() -> bool
- void resize(size_t)
- void startTask()
- void endTask()