Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ main
Function
main
example/cpp11/tutorial/timer2/timer.cpp:19–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
int main()
20
{
21
boost::asio::io_context io;
22
23
boost::asio::steady_timer t(io, boost::asio::chrono::seconds(5));
24
t.async_wait(&print);
25
26
io.run();
27
28
return 0;
29
}
Callers
nothing calls this directly
Calls
2
async_wait
Method · 0.45
run
Method · 0.45
Tested by
no test coverage detected