$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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
Hi,
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