Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3670: endless loop in dev_poll_reactor on Solaris
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-06 09:11:53
#3670: endless loop in dev_poll_reactor on Solaris
------------------------------------+---------------------------------------
Reporter: dirkmoermans@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: asio
Version: Boost 1.41.0 | Severity: Regression
Keywords: |
------------------------------------+---------------------------------------
Comment(by dirkmoermans@â¦):
The patch solves the problem for me.
I dumped some traces with the contents of events[i].events and got as
output without the patch in an endless loop:
{{{
events[i].events=1c
events[i].events & ~(POLLERR | POLLHUP) = 4
}}}
4 corresponds to POLLOUT in sys/poll.h:
{{{
#define POLLOUT 0x0004 /* fd is writeable (won't block)
*/
}}}
I don't know why it is not reproducable, but it would be great if you
would include your patch in the next boost-release.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3670#comment:3> 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:02 UTC