MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / SendDone

Method SendDone

src/algorithm/learner_sender.cpp:293–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void LearnerSender :: SendDone()
294{
295 m_oLock.Lock();
296
297 m_bIsIMSending = false;
298 m_bIsComfirmed = false;
299 m_llBeginInstanceID = (uint64_t)-1;
300 m_iSendToNodeID = nullnode;
301 m_llAbsLastSendTime = 0;
302
303 m_llAckInstanceID = 0;
304 m_llAbsLastAckTime = 0;
305
306 m_oLock.UnLock();
307}
308
309
310}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected