libcoro  1.0
Coroutine support library for C++20
Classes | Functions
Condition

Classes

class  coro::condition< T, Pred >
 await on a condition More...
 

Functions

template<typename T >
void coro::notify_condition (const T &var) noexcept
 notifies variable about change in the condition. More...
 
template<typename T , std::invocable< prepared_coro > Fn>
void coro::notify_condition (const T &var, Fn &&scheduler) noexcept
 notifies variable about change in the condition. More...
 
template<typename T , typename Pred >
void coro::condition_sync_wait (T &var, Pred &&pred)
 Perform synchronous waiting with condition. More...
 

Detailed Description

Set of function that allows to synchronize on single variable