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

Function cancel_one_timer

test/deadline_timer.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void cancel_one_timer(boost::asio::deadline_timer* t)
68{
69 std::size_t num_cancelled = t->cancel_one();
70 BOOST_ASIO_CHECK(num_cancelled == 1);
71}
72
73ptime now()
74{

Callers

nothing calls this directly

Calls 1

cancel_oneMethod · 0.45

Tested by

no test coverage detected