template<class MTX>
struct lib::sync::Condition< MTX >
Definition at line 91 of file sync.hpp.
|
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) |
|
◆ 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 108 of file sync.hpp.
The documentation for this struct was generated from the following file: