libcoro  1.0
Coroutine support library for C++20

◆ thread_pool_t()

template<typename CondVar >
coro::thread_pool_t< CondVar >::thread_pool_t ( unsigned int  threads)
inline

construct thread pool

Parameters
threadsmaximum thread count
Note
treads are not created immediately. They are started with requests

Definition at line 37 of file thread_pool.h.