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

Function make_convertible_timer

test/system_timer.cpp:408–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406 boost::asio::io_context::executor_type> io_context_system_timer;
407
408io_context_system_timer make_convertible_timer(boost::asio::io_context& ioc, int* count)
409{
410 io_context_system_timer t(ioc);
411 t.expires_after(boost::asio::chrono::seconds(1));
412 t.async_wait(bindns::bind(increment, count));
413 return t;
414}
415
416void system_timer_move_test()
417{

Callers 1

system_timer_move_testFunction · 0.85

Calls 3

bindFunction · 0.50
expires_afterMethod · 0.45
async_waitMethod · 0.45

Tested by

no test coverage detected