Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ cancel_timer
Function
cancel_timer
test/deadline_timer.cpp:61–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
void cancel_timer(boost::asio::deadline_timer* t)
62
{
63
std::size_t num_cancelled = t->cancel();
64
BOOST_ASIO_CHECK(num_cancelled == 1);
65
}
66
67
void cancel_one_timer(boost::asio::deadline_timer* t)
68
{
Callers
nothing calls this directly
Calls
1
cancel
Method · 0.45
Tested by
no test coverage detected