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

Method close

tools/monitor/MonitorTask.cpp:119–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119int
120Monitor::MonitorTask::close( u_long flags)
121{
122 if( flags == 0) {
123 return 0;
124 }
125
126 // Shutdown current processing.
127 this->stopInstrumentation();
128
129 // This is the single location where this member is written, don't
130 // bother to lock access.
131 this->done_ = true;
132
133 this->guardCondition_->set_trigger_value( true);
134
135 if( this->opened_ && (this->thread_ != ACE_OS::thr_self())) {
136 this->wait();
137 }
138 return 0;
139}
140
141void
142Monitor::MonitorTask::start()

Callers 6

stopMethod · 0.95
isPersistedMethod · 0.45
generateMethod · 0.45
writeFileMethod · 0.45
isPersistedMethod · 0.45
drawMethod · 0.45

Calls 3

stopInstrumentationMethod · 0.95
set_trigger_valueMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected