Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58762 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2010-01-06 07:36:51


Author: chris_kohlhoff
Date: 2010-01-06 07:36:51 EST (Wed, 06 Jan 2010)
New Revision: 58762
URL: http://svn.boost.org/trac/boost/changeset/58762

Log:
Apply fix for reported excessive CPU usage under Solaris. Refs #3670.

Text files modified:
   trunk/boost/asio/detail/dev_poll_reactor.hpp | 1 -
   1 files changed, 0 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/dev_poll_reactor.hpp
==============================================================================
--- trunk/boost/asio/detail/dev_poll_reactor.hpp (original)
+++ trunk/boost/asio/detail/dev_poll_reactor.hpp 2010-01-06 07:36:51 EST (Wed, 06 Jan 2010)
@@ -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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk