Re: [boost] boost::asio 1.43 regression (canceling read operation doens't trigger operation_aborted)

The problem is that when BOOST_ASIO_ENABLE_CANCELIO is not defined, asio\detail\win_iocp_handle_service.hpp makes it so impl.safe_cancellation_thread_id_ is equal to 0 and then when cancelling
Philippe Vaucher <[1]philippe.vaucher@gmail.com> wrote: the
following code is executed: This problem seems to be windows specific. I compiled and ran Philippes testcase ([2]http://codepad.org/yYrQEqSo) on Debian GNU/Linux with Boost 1.43. I got successful results with both and without BOOST_ASIO_ENABLE_CANCELIO defined. I compiled with g++-4.1, 4.2, 4.3 and 4.4 - system specs were: wash@Dortmunder:~/sandbox/concept_tests$ uname -a Linux Dortmunder 2.6.26-2-amd64 #1 SMP Tue Mar 9 22:29:32 UTC 2010 x86_64 GNU/Linux
Bryce References 1. mailto://philippe.vaucher@gmail.com/ 2. http://codepad.org/yYrQEqSo
participants (1)
-
admin@thefireflyproject.us