Re: [Boost-bugs] [Boost C++ Libraries] #3670: endless loop in dev_poll_reactor on Solaris

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-02 12:51:17


#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 chris_kohlhoff):

 I cannot reproduce the problem. However, please try the following fix and
 report the results:

 Index: dev_poll_reactor.hpp
 ===================================================================
 --- dev_poll_reactor.hpp (revision 58628)
 +++ dev_poll_reactor.hpp (working copy)
 @@ -435,7 +435,6 @@
            more_writes = write_op_queue_.has_operation(descriptor);

          if ((events[i].events & (POLLERR | POLLHUP)) != 0
 - && (events[i].events & ~(POLLERR | POLLHUP)) == 0
                && !more_except && !more_reads && !more_writes)
          {
            // If we have an event and no operations associated with the

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3670#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:02 UTC