MCPcopy Create free account
hub / github.com/AshampooSystems/boden / wait

Method wait

tests/boden/testDispatchQueue.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 int triggers = 0;
26
27 bool wait()
28 {
29 std::unique_lock<std::mutex> lk(mutex);
30 return cv.wait_for(lk, 1min) == std::cv_status::no_timeout;
31 }
32
33 bool waitFor(int numberOfTriggers)
34 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected