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

Subject: [Boost-bugs] [Boost C++ Libraries] #2361: thread_specific_ptr: nature of the key, complexity and rationale
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-23 16:28:10


#2361: thread_specific_ptr: nature of the key, complexity and rationale
--------------------------------------+-------------------------------------
 Reporter: vicente.botet_at_[hidden] | Owner: anthonyw
     Type: Feature Requests | Status: new
Milestone: Boost 1.37.0 | Component: thread
  Version: Boost 1.36.0 | Severity: Not Applicable
 Keywords: thread_specific_ptr |
--------------------------------------+-------------------------------------
 I didn't know that the key of thread_specific_ptr was the address of the
 variable. I expected a constant complexity for boost::thread_specific_ptr,
 but if the key is the address this seams not possible. I supose you had
 some good raison to not use an index key instead of the address.

 Please, could you add the nature of the key, the complexity of the
 boost::thread_specific_ptr and the rationale on the design choice on the
 documentation.

 Ticket requested by A. W. on
 http://www.nabble.com/-thread--TSS-cleanup-to19590361.html#a19623640

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2361>
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:49:58 UTC