#include <modm/processing/fiber/condition_variable.hpp>
|
void | notify_one () |
|
void | notify_any () |
|
template<class Lock > |
void | wait (Lock &lock) |
|
void | wait (Lock &lock, Predicate &&pred) |
|
bool | wait (Lock &lock, stop_token stoken, Predicate &&pred) |
|
template<class Lock , class Rep , class Period > |
cv_status | wait_for (Lock &lock, std::chrono::duration< Rep, Period > rel_time) |
|
bool | wait_for (Lock &lock, std::chrono::duration< Rep, Period > rel_time, Predicate &&pred) |
|
bool | wait_for (Lock &lock, stop_token stoken, std::chrono::duration< Rep, Period > rel_time, Predicate &&pred) |
|
template<class Lock , class Clock , class Duration > |
cv_status | wait_until (Lock &lock, std::chrono::time_point< Clock, Duration > abs_time) |
|
bool | wait_until (Lock &lock, std::chrono::time_point< Clock, Duration > abs_time, Predicate &&pred) |
|
bool | wait_until (Lock &lock, stop_token stoken, std::chrono::time_point< Clock, Duration > abs_time, Predicate &&pred) |
|
|
template<class Lock , class Predicate > |
requires | requires { std::is_invocable_r_v<bool, Predicate, void> |
|
Implements the std::condition_variable_any
interface for fibers.
- See also
- https://en.cppreference.com/w/cpp/thread/condition_variable
void modm::fiber::condition_variable_any::notify_any |
( |
| ) |
|
|
inline |
- Note
- This function can be called from an interrupt.
void modm::fiber::condition_variable_any::notify_one |
( |
| ) |
|
|
inline |
- Note
- This function can be called from an interrupt.
The documentation for this class was generated from the following file: