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

Method remove_reader_acks

dds/DCPS/WriteDataContainer.cpp:190–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void
191WriteDataContainer::remove_reader_acks(const GUID_t& reader)
192{
193 ACE_Guard<ACE_Thread_Mutex> guard(wfa_lock_);
194
195 const SequenceNumber prev_cum_ack = get_cumulative_ack();
196 const AckedSequenceMap::iterator it = acked_sequences_.find(reader);
197 if (it != acked_sequences_.end()) {
198 acked_sequences_.erase(it);
199 cached_cumulative_ack_valid_ = false;
200 if (prev_cum_ack != get_cumulative_ack()) {
201 wfa_condition_.notify_all();
202 }
203 }
204}
205
206SequenceNumber
207WriteDataContainer::get_cumulative_ack()

Callers 1

remove_associationsMethod · 0.80

Calls 4

notify_allMethod · 0.80
findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected