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-05 15:51:57


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

Comment (by danobrega@…):

 The only workaround we found is storing the thread objects and when the
 application cleanup is not invoked gracefully we cycle through all threads
 and invoke the system function TerminateThread to put them out of their
 misery. It's not pretty, but it keeps the owning application from hanging.

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