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

Method WaitToSend

src/algorithm/learner_sender.cpp:210–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208///////////////////////////////////////////////
209
210void LearnerSender :: WaitToSend()
211{
212 m_oLock.Lock();
213 while (!m_bIsComfirmed)
214 {
215 m_oLock.WaitTime(1000);
216 if (m_bIsEnd)
217 {
218 break;
219 }
220 }
221 m_oLock.UnLock();
222}
223
224void LearnerSender :: SendLearnedValue(const uint64_t llBeginInstanceID, const nodeid_t iSendToNodeID)
225{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected