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