#include <threadpool.h>
Definition at line 56 of file threadpool.h.
◆ waiter()
| tools::threadpool::waiter::waiter |
( |
| ) |
|
|
inline |
Wait for a set of tasks to finish.
Definition at line 64 of file threadpool.h.
◆ ~waiter()
| tools::threadpool::waiter::~waiter |
( |
| ) |
|
Definition at line 96 of file threadpool.cpp.
100 boost::unique_lock<boost::mutex> lock(mt);
102 MERROR(
"wait should have been called before waiter dtor - waiting now");
109 catch (
const std::exception &e)
◆ dec()
| void tools::threadpool::waiter::dec |
( |
| ) |
|
Definition at line 128 of file threadpool.cpp.
129 const boost::unique_lock<boost::mutex> lock(mt);
◆ inc()
| void tools::threadpool::waiter::inc |
( |
| ) |
|
Definition at line 123 of file threadpool.cpp.
124 const boost::unique_lock<boost::mutex> lock(mt);
◆ wait()
| void tools::threadpool::waiter::wait |
( |
threadpool * |
tpool | ) |
|
Definition at line 115 of file threadpool.cpp.
118 boost::unique_lock<boost::mutex> lock(mt);
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/common/threadpool.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/common/threadpool.cpp