Boost logo

Boost Users :

Subject: [Boost-users] boost::asio::deadline_timer cancel and expires_from_now
From: jupiter (jupiter.hce_at_[hidden])
Date: 2017-05-08 23:43:55


Is it necessary to call the timer.cancel() before timer.expires_from_now? I
think it is not just unnecessary, it will be a bug to call the
timer.cancel() before timer.expires_from_now, I think that will run the
cancel if the previous timer is not expired, is it correct?

Thank you

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at