Re: [Boost-users] boost::asio::io_service::postand boost::asio::deadline_timer
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_dea... ~~~~~~~~~ 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.
Marat Abrarov
http://www.boost.org/doc/libs/1_48_0/doc/html/boost_asio/reference/basic_dea... ine_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. ~~~~~~~~~
Apologies. I didn't see that in the documentation. I think I needed to get used to where to find things when navigating it. You have to click more...
participants (2)
-
Christopher
-
Marat Abrarov