[Boost-bugs] [Boost C++ Libraries] #9083: thread_group::join_all() hangs when invoked on dll unload

Subject: [Boost-bugs] [Boost C++ Libraries] #9083: thread_group::join_all() hangs when invoked on dll unload
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-05 15:22:56


#9083: thread_group::join_all() hangs when invoked on dll unload
-------------------------------------------------+-------------------------
 Reporter: danobrega@… | Owner:
     Type: Bugs | chris_kohlhoff
Milestone: To Be Determined | Status: new
  Version: Boost 1.54.0 | Component: asio
 Keywords: thread_group join_all hang deadlock | Severity: Problem
  freelibrary windows |
-------------------------------------------------+-------------------------
 Dynamic loading a dll that creates a simple thread group and then
 unloading the dll will cause the application to hang on
 thread_group::join_all.

 This happens both if we:

 Clean up the thread_group on DllMain::DLL_PROCESS_DETACH or if we have a
 global object representing the thread_group and the clean up is invoked on
 that object's destructor.

 We'll attach a simple solution where this problem can be reproduced.

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