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

Method get_notification

performance-tests/DCPS/Sync/SyncClient_i.cpp:84–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void
85SyncClient_i::get_notification (void)
86{
87 while (true)
88 {
89 {
90 ACE_GUARD( ACE_SYNCH_MUTEX, guard, this->lock_);
91 if (notification_)
92 {
93 notification_ = false;
94 break;
95 }
96 }
97
98 ACE_Time_Value small_time(0,250000);
99 ACE_OS::sleep (small_time);
100 }
101}
102
103int
104SyncClient_i::svc (void)

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected