My Project 3.2.0
C++ Distributed Hash Table
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dht::Executor Class Reference
Inheritance diagram for dht::Executor:
Inheritance graph
[legend]
Collaboration diagram for dht::Executor:
Collaboration graph
[legend]

Public Member Functions

 Executor (ThreadPool &pool, unsigned maxConcurrent=1)
 
void run (std::function< void()> &&task)
 

Detailed Description

Definition at line 84 of file thread_pool.h.

Constructor & Destructor Documentation

◆ Executor()

dht::Executor::Executor ( ThreadPool & pool,
unsigned maxConcurrent = 1 )
inline

Definition at line 86 of file thread_pool.h.


The documentation for this class was generated from the following file: