Lumiera  0.pre.03
»edit your freedom«
Condition< MTX > Struct Template Reference

Description

template<class MTX>
struct lib::sync::Condition< MTX >

Definition at line 83 of file sync.hpp.

Public Member Functions

std::condition_variable_any & condVar ()
 
MTX & mutex ()
 
template<class PRED >
void wait (PRED &&predicate)
 
template<class REPR , class PERI , class PRED >
bool wait_for (std::chrono::duration< REPR, PERI > const &timeout, PRED &&predicate)
 

Member Function Documentation

◆ wait_for()

bool wait_for ( std::chrono::duration< REPR, PERI > const &  timeout,
PRED &&  predicate 
)
inline
Returns
false in case of timeout, true if predicate is fulfilled at return

Definition at line 100 of file sync.hpp.

+ Inheritance diagram for Condition< MTX >:
+ Collaboration diagram for Condition< MTX >:

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