libcoro
1.0
Coroutine support library for C++20
|
◆ notify_condition() [2/2]
template<typename T , std::invocable< prepared_coro > Fn>
notifies variable about change in the condition.
Tests all conditions and resumes all coroutines, where condition is fulfilled. It is not UB when variable is already destroyed. You can pass anything. If the variable is not awaited, nothing happens.
Definition at line 313 of file condition.h. |