Definition at line 97 of file thread_pool.h.
◆ ExecutionContext()
| dht::ExecutionContext::ExecutionContext |
( |
ThreadPool & |
pool | ) |
|
|
inline |
◆ ~ExecutionContext()
| dht::ExecutionContext::~ExecutionContext |
( |
| ) |
|
|
inline |
◆ run()
| void dht::ExecutionContext::run |
( |
std::function< void()> && |
task | ) |
|
|
inline |
◆ stop()
| void dht::ExecutionContext::stop |
( |
| ) |
|
|
inline |
Wait for ongoing tasks to complete execution and drop other pending tasks
Definition at line 108 of file thread_pool.h.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/opendht-2.4.4/include/opendht/thread_pool.h