[Boost-bugs] [Boost C++ Libraries] #2832: Asio sync IO functions need timeout parameters

Subject: [Boost-bugs] [Boost C++ Libraries] #2832: Asio sync IO functions need timeout parameters
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-05 10:50:49


#2832: Asio sync IO functions need timeout parameters
----------------------------------------------------+-----------------------
 Reporter: Stephan Menzel <stephan.menzel_at_gmx.eu> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: asio
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
----------------------------------------------------+-----------------------
 Hi Chris,

 knowing this is an issue that has been discussed again and again I think
 it's better to handle it in a ticket.

 Long story:
 http://article.gmane.org/gmane.comp.lib.boost.user/45360

 Short story:
 I think asio's sync routines either need a timeout parameter or need to be
 removed.

 Sync IO without a timeout is something I can hardly imagine any sensible
 use case for. In most cases one would definately need such functionality.
 Workarounds have been suggested but most would create too much performance
 or boilerplate overhead within the application. This should be handled
 within the lib and would actually render the sync routines a lot more
 useful.

 Thanks a bunch!

 Stephan

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2832>
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:49:59 UTC