Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio::io_service::postand boost::asio::deadline_timer
From: Marat Abrarov (abrarov_at_[hidden])
Date: 2012-01-18 00:50:37


Hi, Christopher.
 
> I mean
> now = current time
> "Make biscuits 30 seconds from now."
> "Clean the car 10 seconds from now."
> "Ride your bike 45 seconds from now."
>
> Or does posting to the timer before it is "expired" interfere with the first
> request?

http://www.boost.org/doc/libs/1_48_0/doc/html/boost_asio/reference/basic_deadline_timer/expires_from_now.html
~~~~~~~~~
Any pending asynchronous wait operations will be cancelled. The handler for each cancelled operation will be invoked
with the boost::asio::error::operation_aborted error code.
~~~~~~~~~

Regards,
Marat Abrarov.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net