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()
[1/2]
template<typename CondVar >
static auto
coro::scheduler_t
< CondVar >::
thread_pool
(
std::shared_ptr<
coro::thread_pool
>
pool
)
inline
static
Attach a thread pool to the scheduler.
Parameters
pool
shared pointer to an existing thread pool
Returns
function object, which can be pased to
run()
or
start()
See also
run
,
start
Definition at line
177
of file
scheduler.h
.
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1