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

Method open

tools/monitor/MonitorTask.cpp:100–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100int
101Monitor::MonitorTask::open( void*)
102{
103 if( this->opened_) {
104 return -1;
105 }
106
107 int result = activate (THR_NEW_LWP | THR_JOINABLE, 1);
108 if( result != 0) {
109 ACE_ERROR((LM_ERROR,
110 ACE_TEXT("(%P|%t) ERROR: MonitorTask::open() - ")
111 ACE_TEXT("failed to activate the thread.\n")
112 ));
113 }
114
115 this->opened_ = true;
116 return result;
117}
118
119int
120Monitor::MonitorTask::close( u_long flags)

Callers 15

startMethod · 0.95
v1tov2.rbFile · 0.45
runMethod · 0.45
performSaveAsMethod · 0.45
runMethod · 0.45
getDatatypesToReferToMethod · 0.45
runMethod · 0.45
getPoliciesToReferToMethod · 0.45
performSaveAsMethod · 0.45
browseForTargetDirMethod · 0.45
browseForModelFileMethod · 0.45
doSaveAsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected