MCPcopy Create free account
hub / github.com/boostorg/asio / cancel_timer

Function cancel_timer

test/system_timer.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void cancel_timer(boost::asio::system_timer* t)
63{
64 std::size_t num_cancelled = t->cancel();
65 BOOST_ASIO_CHECK(num_cancelled == 1);
66}
67
68void cancel_one_timer(boost::asio::system_timer* t)
69{

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected