Re: [Boost-bugs] [Boost C++ Libraries] #4739: A thread safe bug about epoll_reactor

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4739: A thread safe bug about epoll_reactor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-16 07:47:43


#4739: A thread safe bug about epoll_reactor
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.45.0 | Severity: Problem
Resolution: invalid | Keywords: asio epoll_reactor
-------------------------------+--------------------------------------------
Changes (by chris_kohlhoff):

  * status: new => closed
  * resolution: => invalid

Comment:

 I assume you mean asio 1.4.5 / boost 1.43. The line:

 {{{
     registered_descriptors_.erase(descriptor);
 }}}

 does not free the memory. The node is placed on a free-list and is not
 deleted until the io_service is destroyed.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4739#comment:2>
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:04 UTC