YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::ConditionVariableAny< Impl > Class Template Reference

#include <condition_variable_any.hpp>

Inheritance diagram for yaclib::detail::ConditionVariableAny< Impl >:
[legend]
Collaboration diagram for yaclib::detail::ConditionVariableAny< Impl >:
[legend]

Public Member Functions

void notify_one () noexcept
 
void notify_all () noexcept
 
template<typename Lock >
void wait (Lock &lock)
 
template<typename Lock , typename Predicate >
void wait (Lock &lock, Predicate &&stop_waiting)
 
template<typename Lock , typename Rep , typename Period >
std::cv_status wait_for (Lock &lock, const std::chrono::duration< Rep, Period > &rel_time)
 
template<typename Lock , typename Rep , typename Period , typename Predicate >
bool wait_for (Lock &lock, const std::chrono::duration< Rep, Period > &rel_time, Predicate &&stop_waiting)
 
template<typename Lock , typename Clock , typename Duration >
std::cv_status wait_until (Lock &lock, const std::chrono::time_point< Clock, Duration > &timeout_time)
 
template<typename Lock , typename Clock , typename Duration , typename Predicate >
bool wait_until (Lock &lock, const std::chrono::time_point< Clock, Duration > &timeout_time, Predicate &&stop_waiting)
 

Detailed Description

template<typename Impl>
class yaclib::detail::ConditionVariableAny< Impl >

Definition at line 13 of file condition_variable_any.hpp.

Member Function Documentation

◆ notify_all()

template<typename Impl >
void yaclib::detail::ConditionVariableAny< Impl >::notify_all ( )
inlinenoexcept

Definition at line 20 of file condition_variable_any.hpp.

References YACLIB_INJECT_FAULT.

◆ notify_one()

template<typename Impl >
void yaclib::detail::ConditionVariableAny< Impl >::notify_one ( )
inlinenoexcept

Definition at line 17 of file condition_variable_any.hpp.

References YACLIB_INJECT_FAULT.

◆ wait() [1/2]

template<typename Impl >
template<typename Lock >
void yaclib::detail::ConditionVariableAny< Impl >::wait ( Lock &  lock)
inline

Definition at line 25 of file condition_variable_any.hpp.

References YACLIB_INJECT_FAULT.

◆ wait() [2/2]

template<typename Impl >
template<typename Lock , typename Predicate >
void yaclib::detail::ConditionVariableAny< Impl >::wait ( Lock &  lock,
Predicate &&  stop_waiting 
)
inline

Definition at line 29 of file condition_variable_any.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ wait_for() [1/2]

template<typename Impl >
template<typename Lock , typename Rep , typename Period >
std::cv_status yaclib::detail::ConditionVariableAny< Impl >::wait_for ( Lock &  lock,
const std::chrono::duration< Rep, Period > &  rel_time 
)
inline

Definition at line 34 of file condition_variable_any.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ wait_for() [2/2]

template<typename Impl >
bool yaclib::detail::ConditionVariableAny< Impl >::wait_for ( Lock &  lock,
const std::chrono::duration< Rep, Period > &  rel_time,
Predicate &&  stop_waiting 
)
inline

Definition at line 39 of file condition_variable_any.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ wait_until() [1/2]

template<typename Impl >
template<typename Lock , typename Clock , typename Duration >
std::cv_status yaclib::detail::ConditionVariableAny< Impl >::wait_until ( Lock &  lock,
const std::chrono::time_point< Clock, Duration > &  timeout_time 
)
inline

Definition at line 45 of file condition_variable_any.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ wait_until() [2/2]

template<typename Impl >
bool yaclib::detail::ConditionVariableAny< Impl >::wait_until ( Lock &  lock,
const std::chrono::time_point< Clock, Duration > &  timeout_time,
Predicate &&  stop_waiting 
)
inline

Definition at line 50 of file condition_variable_any.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.


The documentation for this class was generated from the following file: