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

Method RemoveTimer

src/algorithm/ioloop.cpp:227–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void IOLoop :: RemoveTimer(uint32_t & iTimerID)
228{
229 auto it = m_mapTimerIDExist.find(iTimerID);
230 if (it != end(m_mapTimerIDExist))
231 {
232 m_mapTimerIDExist.erase(it);
233 }
234
235 iTimerID = 0;
236}
237
238void IOLoop :: DealwithTimeoutOne(const uint32_t iTimerID, const int iType)
239{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected