Re: [Boost-bugs] [Boost C++ Libraries] #8538: asio: race condition for epoll & kpoll

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8538: asio: race condition for epoll & kpoll
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-14 19:54:08


#8538: asio: race condition for epoll & kpoll
------------------------------------------------------+---------------------
  Reporter: Leonid Gershanovich <gleonid@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------

Comment (by anonymous):

 {{{free_descriptor_state}}} does not destroy the {{{descriptor_state}}}.
 Instead, if marks it as being reusable within the {{{object_pool}}}.
 Thus, the {{{mutex::scoped_lock}}} will safely unlock the safe mutex it
 had originally locked. The mutex is only used to protect internal state
 information. It would be unfortunate if applications had to pay for
 additional locking overhead when using a single thread or if the
 underlying sockets already provide thread-safety.

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