My Project 2.4.4
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 78 of file thread_pool.h.

Constructor & Destructor Documentation

◆ Executor()

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

Definition at line 80 of file thread_pool.h.


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