Boost logo

Boost :

Subject: Re: [boost] boost::asio 1.43 regression (canceling read operation doens't trigger operation_aborted)
From: admin_at_[hidden]
Date: 2010-06-11 06:10:24


   Philippe Vaucher <[1]philippe.vaucher_at_[hidden]> wrote:
> 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
   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_at_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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk