Definition at line 92 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 103 of file thread_pool.h.
The documentation for this class was generated from the following file:
- /home/iurt/rpmbuild/BUILD/opendht-3.7.1-build/opendht-3.7.1/include/opendht/thread_pool.h