Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3254: Cannot cancel async_write to a serial port
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-09 12:39:03
#3254: Cannot cancel async_write to a serial port
------------------------------------------+---------------------------------
Reporter: kevin.arunski@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: asio
Version: Boost 1.39.0 | Severity: Problem
Keywords: |
------------------------------------------+---------------------------------
Comment(by kevin.arunski@â¦):
I think I've traced the problem to the speculative write code path in the
reactor service. The write is sent to the file descriptor ahead of
queueing a work operation. So there is no way for the cancel operation to
find the pending write operation. So I would think the speculative write
path would need to at least provide some mechanism for the cancel
operation to find the write operation and deliver the error code to the
handler.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3254#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC