| 393 | } |
| 394 | |
| 395 | boost::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 | |
| 403 | typedef boost::asio::basic_waitable_timer< |
| 404 | boost::asio::system_timer::clock_type, |
no test coverage detected