Re: [Boost-bugs] [Boost C++ Libraries] #11796: Thread move assignment operator, does not detach previous thread data

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11796: Thread move assignment operator, does not detach previous thread data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-17 06:17:04


#11796: Thread move assignment operator, does not detach previous thread data
-------------------------------+----------------------
  Reporter: saboorian@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by saboorian@…):

 I've tested with c++11.[[BR]]
 It only happens with thread V2, because with V3 not joining/detaching a
 joinable thread leads to std::terminate.[[BR]]
 Actually the attached file does not show any error, and that's because I
 added a thread detach before assigning to a new instance. so If you want
 to see the error you should remove line 8, and you'll get thread resource
 error.

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