Re: [Boost-bugs] [Boost C++ Libraries] #8586: Boost Thread .join() causes exception

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8586: Boost Thread .join() causes exception
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-04 10:07:57


#8586: Boost Thread .join() causes exception
-------------------------------+----------------------
  Reporter: lakmus@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by Alexey <lakmus@…>):

 Replying to [comment:12 viboes]:
> {{{
> int main()
> {
> boost::thread* my_thread = new boost::thread(&hello_world);
> my_thread->join();
> delete my_thread;
> }
> }}}


 Still error.


> {{{
> int main()
> {
> boost::thread my_thread(&hello_world);
> boost::this_thread::sleep_for(boost::chrono::milliseconds(10000));
> my_thread.join();
> }
> }}}

 Error after 10 sec. With BOOST_THREAD_DONT_USE_ATOMIC both results are the
 same too.

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