Re: [Boost-bugs] [Boost C++ Libraries] #10651: boost::thread leaks memory when using the MinGW compiler

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10651: boost::thread leaks memory when using the MinGW compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-13 03:29:45


#10651: boost::thread leaks memory when using the MinGW compiler
-------------------------------+---------------------
  Reporter: michael.burr@… | Owner: ned14
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by michael.burr@…):

 I added the lines

 {{{
 #define
 BOOST_THREAD_PROVIDES_THREAD_DESTRUCTOR_CALLS_TERMINATE_IF_JOINABLE 1
 #define BOOST_THREAD_VERSION 4
 }}}

 to `boost/config/user.hpp` and rebuilt the library. This didn't have an
 effect on the problem.

 But to be honest, I'm not 100% sure this is the right way to do what you
 asked.

 I have also tried changing the typedef for `thread_data_ptr` to:

 {{{
 typedef boost::shared_ptr<detail::thread_data_base> thread_data_ptr;
 }}}

 but that results in several other compiler errors occurring. I haven't had
 a chance to work through updaing the uses of `thread_data_ptr` to resolve
 those errors.

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