
19 Aug
2011
19 Aug
'11
9:35 a.m.
Hi, Allan.
Is this a bug, or am I doing something wrong?
Note that deadline_timer always (!) invokes wait handler, even it was successfully cancelled (int res = timer1.cancel(); assert(res > 0);): http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/reference/basic_dea... ~~~ The handler for each cancelled operation will be invoked with the boost::asio::error::operation_aborted error code. ~~~ Regards, Marat Abrarov.