MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / wait_until

Method wait_until

tests/unit-tests/dds/DCPS/PeriodicEvent.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void wait_until(const OpenDDS::DCPS::MonotonicTimePoint& deadline)
50 {
51 ACE_Guard<ACE_Thread_Mutex> guard(mutex_);
52 while (OpenDDS::DCPS::MonotonicTimePoint::now() < deadline) {
53 cv_.wait_until(deadline, tsm_);
54 }
55 }
56
57private:
58 ACE_Thread_Mutex mutex_;

Callers 7

svcMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
subscriber.cppFile · 0.45
wait_matchedMethod · 0.45
wait_matchedMethod · 0.45
wait_valid_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected