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

Subject: Re: [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-09 09:43:04


#9083: thread_group::join_all() hangs when invoked on dll unload
-------------------------+-------------------------------------------------
  Reporter: | Owner: viboes
  danobrega@… | Status: assigned
      Type: Bugs | Component: thread
 Milestone: To Be | Severity: Problem
  Determined | Keywords: thread_group join_all hang deadlock
   Version: Boost | freelibrary windows
  1.54.0 |
Resolution: |
-------------------------+-------------------------------------------------

Comment (by danobrega@…):

 Hi hvemha.

 Unfortunately we are developing a DLL that works as a plugin driver for a
 well known CRM software.

 The DLL is loaded via LoadLibrary and there is no Load+Unload functions on
 the well defined API, and we do not have enough influence to request that
 kind of change to it.

 We are stuck with trying to guess when the DLL will be unloaded, but
 sometimes we just have no way of knowing. The only remaining options we
 know of to clean stuff are at DllMain or having a global object that is
 destructed when the DLL is being unloaded.

 Best regards,
 danobrega.

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