id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6679,[asio] request : repeat timer,Akira Takahashi ,chris_kohlhoff,"This ticket is feature request. I want repeat feature in deadline_timer/waitable_timer. Many libraries timer have repeat features. follow code is example. before: {{{ void on_timer(error_code error, steady_timer& timer) { if (error) return; timer.expires_from_now(seconds(1)); timer.async_wait(boost::bind(&on_timer, _1, boost::ref(timer))); } int main() { ... timer.expires_from_now(seconds(1)); timer.async_wait(boost::bind(&on_timer, _1, boost::ref(timer))); } }}} after: {{{ void on_timer(error_code error, steady_timer& timer) { if (error) return; // no boiler plate } int main() { ... timer.expires_from_now(seconds(1), steady_timer::repeat); timer.async_wait(boost::bind(&on_timer, _1, boost::ref(timer))); } }}}",Feature Requests,new,To Be Determined,asio,Boost 1.49.0,Cosmetic,,,