Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4639: boost thread library leaks pthread_key
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-04 20:05:59
#4639: boost thread library leaks pthread_key
--------------------------------+-------------------------------------------
Reporter: gleonid@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: pthread_key_create pthread_key_delete
--------------------------------+-------------------------------------------
Comment (by anonymous):
If I am not mistaken, pthread_key_create is called from 2 places:
1. pthread_key_create(&epoch_tss_key...
2. pthread_key_create(¤t_thread_tls_key, ... )
(at the moment I am looking at code from 1.48.0 release)
I guess that for both keys appropriate point to call pthread_key_delete
would be at moment when boost thread library is being unloaded (or process
is being terminated).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4639#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:08 UTC