Condition variable wrapper.
More...
#include <commrat/platform/threading.hpp>
Condition variable wrapper.
Definition at line 318 of file threading.hpp.
◆ ConditionVariable() [1/2]
| commrat::ConditionVariable::ConditionVariable |
( |
| ) |
|
|
default |
◆ ~ConditionVariable()
| commrat::ConditionVariable::~ConditionVariable |
( |
| ) |
|
|
default |
◆ ConditionVariable() [2/2]
◆ notify_all()
| void commrat::ConditionVariable::notify_all |
( |
| ) |
|
|
inlinenoexcept |
◆ notify_one()
| void commrat::ConditionVariable::notify_one |
( |
| ) |
|
|
inlinenoexcept |
◆ operator=()
◆ wait() [1/2]
| void commrat::ConditionVariable::wait |
( |
std::unique_lock< std::mutex > & |
lock | ) |
|
|
inline |
◆ wait() [2/2]
template<typename Predicate >
| void commrat::ConditionVariable::wait |
( |
std::unique_lock< std::mutex > & |
lock, |
|
|
Predicate |
pred |
|
) |
| |
|
inline |
◆ wait_for()
template<typename Rep , typename Period >
| std::cv_status commrat::ConditionVariable::wait_for |
( |
std::unique_lock< std::mutex > & |
lock, |
|
|
const std::chrono::duration< Rep, Period > & |
rel_time |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: