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

Method wait

tests/unit-tests/dds/DCPS/AtomicBool.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void wait(unsigned target)
37 {
38 ACE_Guard<ACE_Thread_Mutex> guard(mutex_);
39 while (call_count_ < target) {
40 cv_.wait(tsm_);
41 }
42 }
43};
44
45}

Callers 4

TESTFunction · 0.45
TESTFunction · 0.45
wait_for_countMethod · 0.45
wait_for_finishedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected