$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] boost::asio 1.43 regression (canceling read operation doens't trigger operation_aborted)
From: Stephan Menzel (stephan.menzel_at_[hidden])
Date: 2010-06-11 03:24:16
Hi Philippe,
unfortunately that's one major painpoint with asio and will remain to be one:
https://svn.boost.org/trac/boost/ticket/2832
HTH,
Stephan
On Thu, Jun 10, 2010 at 1:52 PM, Philippe Vaucher
<philippe.vaucher_at_[hidden]> wrote:
> Hello,
>
> I had working 1.42 code that suddenly stopped working with 1.43. With a bit
> of investigation I found out that canceling an async_read operation on a
> serial port when a timer was fired didn't trigger the expected
> boost::asio::error::operation_aborted like it used to do.
>
> Here is a testcase: http://codepad.org/XnLwybDl
>
> The idea is to implement a "read with timeout" functionality on a serial
> port.
> Btw, is this the correct way to implement this? Is there a simpler way to
> read from a serial port with a timeout?
>
> Thanks,
> Philippe
> _______________________________________________
> Unsubscribe & other changes: http://listarchives.boost.org/mailman/listinfo.cgi/boost
>