Re: [Boost-bugs] [Boost C++ Libraries] #2361: thread_specific_ptr: nature of the key, complexity and rationale

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2361: thread_specific_ptr: nature of the key, complexity and rationale
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-25 12:24:51


#2361: thread_specific_ptr: nature of the key, complexity and rationale
---------------------------------------+------------------------------------
  Reporter: vicente.botet@… | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: Boost 1.52.0 | Component: thread
   Version: Boost 1.36.0 | Severity: Not Applicable
Resolution: | Keywords: thread_specific_ptr
---------------------------------------+------------------------------------
Changes (by viboes):

  * milestone: To Be Determined => Boost 1.52.0

Comment:

 Next follows the text that will be added


 {{{
 [heading Rational about the nature of the key]

 Boost.Thread uses the address of the `thread_specific_ptr` instance as key
 of the thread specific pointers. This avoids to create/destroy a key which
 will need a lock to protect from race conditions. This has a little
 performance liability, as the access must be done using an associative
 container.

 }}}

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