libcoro
1.0
Coroutine support library for C++20
coro
scheduler_t
cancel
current
resume_cb
run
run
run
run
scheduler_t
scheduler_t
sleep_for
sleep_until
start
start
stop
thread_pool
thread_pool
~scheduler_t
◆
thread_pool()
[2/2]
template<typename CondVar >
static auto
coro::scheduler_t
< CondVar >::
thread_pool
(
unsigned int
threads
)
inline
static
Create a thread pool for the scheduler.
Parameters
threads
count of threads
Returns
function object, which can be pased to
run()
or
start()
See also
run
,
start
Definition at line
166
of file
scheduler.h
.
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1