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
◆
sleep_until()
template<typename CondVar >
future
<void>
coro::scheduler_t
< CondVar >::sleep_until
(
std::chrono::system_clock::time_point
tp
,
ident_t
ident
=
nullptr
)
inline
sleep until specified time point
Parameters
tp
time point
ident
optional identification. You can use any pointer as identification. The pointer is dereferrenced
Returns
future which becomes resolved at specified time point. You just need to
co_await
on it
Definition at line
66
of file
scheduler.h
.
Here is the caller graph for this function:
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1