Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio timer - how to restart it?
From: Sergei Politov (spolitov_at_[hidden])
Date: 2008-10-23 10:18:15


> As you can see to on_time_out() is called immediately after
> expires_from_now() call,
> with no actual time out.
> How do I restart to timer in the right way?

  You could check error code in handler, in case of cancellation (including
settings new expiration time) it contains the value

Best Regards,

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