MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Cancel

Method Cancel

lib/base/io-engine.cpp:257–263  ·  view source on GitHub ↗

* Cancels any pending timeout callback. * * Must be called in the strand in which the callback was scheduled! */

Source from the content-addressed store, hash-verified

255 * Must be called in the strand in which the callback was scheduled!
256 */
257void Timeout::Cancel()
258{
259 m_Cancelled->store(true);
260
261 boost::system::error_code ec;
262 m_Timer.cancel(ec);
263}

Callers 4

CreateObjectMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected