libcoro  1.0
Coroutine support library for C++20

◆ current()

template<typename CondVar >
static scheduler_t* coro::scheduler_t< CondVar >::current ( )
inlinestatic

returns current scheduler (for the current thread)

Note this is not useful, if the scheduled coroutine is resumed in a different thread.

Returns

Definition at line 237 of file scheduler.h.