Subject: [Boost-bugs] [Boost C++ Libraries] #6279: asio needs "poll" with timeout
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-16 16:51:19
#6279: asio needs "poll" with timeout
---------------------------------------------+------------------------------
Reporter: Gennady Proskurin <gpr@â¦> | Owner: chris_kohlhoff
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.48.0 | Severity: Problem
Keywords: |
---------------------------------------------+------------------------------
There were much of discussion about synchronous operations in asio with
timeouts, bug #2832 for example. The main argument against it was
difficulties with composed operations. I propose a compromise: some form
of "poll" with timeout (poll_read/poll_write or something like that). I
mean synchronous version of async_read_some(null_buffers()). If it will be
implemented, it will be easy to write sync read with timeout, using
combination of poll_read/read_some. I'm sure this "portable poll" will be
very useful.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6279> 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:08 UTC