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

Function make_timer

test/system_timer.cpp:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395boost::asio::system_timer make_timer(boost::asio::io_context& ioc, int* count)
396{
397 boost::asio::system_timer t(ioc);
398 t.expires_after(boost::asio::chrono::seconds(1));
399 t.async_wait(bindns::bind(increment, count));
400 return t;
401}
402
403typedef boost::asio::basic_waitable_timer<
404 boost::asio::system_timer::clock_type,

Callers 1

system_timer_move_testFunction · 0.70

Calls 3

bindFunction · 0.50
expires_afterMethod · 0.45
async_waitMethod · 0.45

Tested by

no test coverage detected