Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5339: asio async_read throws boost::asio::error::invalid_argument on mac OS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-20 00:08:16
#5339: asio async_read throws boost::asio::error::invalid_argument on mac OS X
--------------------------------+-------------------------------------------
Reporter: wjwwood@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords: asio invalid_argument mac os x async_read
--------------------------------+-------------------------------------------
Comment (by chris_kohlhoff):
Replying to [comment:3 anonymous]:
> 1. Does disabling kqueue for a select based implementation have many if
any drawbacks? (Is this documented somewhere?)
If you use select then "the number of file descriptors in the process
cannot be permitted to exceed FD_SETSIZE". This defaults to 1024 on Mac OS
X.
(From
http://www.boost.org/doc/libs/1_46_1/doc/html/boost_asio/overview/implementation.html)
> 2. Would you advise define'ing the BOOST_ASIO_DISABLE_KQUEUE in the
compiler arguments or in the source code?
You should prefer the compiler command line for these sorts of options. It
helps ensure the option is consistent across your whole program.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5339#comment:4> 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:06 UTC