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

Method stop

dds/InfoRepo/UpdateReceiver_T.cpp:85–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84template<class DataType>
85void
86UpdateReceiver<DataType>::stop()
87{
88 if (OpenDDS::DCPS::DCPS_debug_level > 0) {
89 ACE_DEBUG((LM_DEBUG,
90 ACE_TEXT("(%P|%t) UpdateReceiver::stop()\n")));
91 }
92
93 // Indicate the thread should stop and get its attention.
94 if (this->stop_)
95 return;
96
97 this->stop_ = true;
98 this->workAvailable_.signal();
99}
100
101template<class DataType>
102void

Callers 1

~UpdateReceiverMethod · 0.95

Calls 1

signalMethod · 0.45

Tested by

no test coverage detected