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

Method signal

dds/DCPS/WaitSet.cpp:171–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void WaitSet::signal(Condition_ptr condition)
172{
173 Condition_var condv(Condition::_duplicate(condition));
174 ACE_GUARD(ACE_Recursive_Thread_Mutex, g, lock_);
175
176 if (attached_conditions_.find(condv) != attached_conditions_.end()) {
177 signaled_conditions_.insert(condv);
178 cond_.notify_one();
179 }
180}
181
182WaitSet_ptr WaitSet::_duplicate(WaitSet_ptr obj)
183{

Callers 10

svcMethod · 0.45
svcMethod · 0.45
svcMethod · 0.45
svcMethod · 0.45
join_federationMethod · 0.45
runMethod · 0.45
stopMethod · 0.45
addMethod · 0.45
notify_oneMethod · 0.45
signal_allMethod · 0.45

Calls 4

notify_oneMethod · 0.80
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected