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-05-19 14:11:45


#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:
-------------------------------+--------------------------------------------
Changes (by viboes):

  * owner: anthonyw => viboes
  * status: new => assigned


Old description:

> Hello, sorry for my bad english.
>
> I just compiled a test example:
>
> #include <boost/thread/thread.hpp>
> #include <iostream>
>
> void hello_world()
> {
> std::cout << "Hello from thread!" << std::endl;
> }
>
> int main()
> {
> boost::thread my_thread(&hello_world);
> my_thread.join();
> }
>
> And when my_thread.join(); calls I get an exception.
>
> Boost 1.53.0: One error: http://i.imgur.com/J2zpjQ0.png
> Boost 1.52.0: Two errors: http://i.imgur.com/CekLb8O.png
> Boost 1.51.0: No errors.
> Boost 1.48.0: No errors.
>
> I use Intel C++ Compiler 13.1.1. Windows XP SP3.
> I compile Boost: call bjam toolset="intel" ---build-type=complete
> threading=multi link=static runtime-link=static

New description:

 Hello, sorry for my bad english.

 I just compiled a test example:


 {{{
 #include <boost/thread/thread.hpp>
 #include <iostream>

 void hello_world()
 {
     std::cout << "Hello from thread!" << std::endl;
 }

 int main()
 {
     boost::thread my_thread(&hello_world);
     my_thread.join();
 }
 }}}


 And when my_thread.join(); calls I get an exception.

 Boost 1.53.0: One error: http://i.imgur.com/J2zpjQ0.png
 Boost 1.52.0: Two errors: http://i.imgur.com/CekLb8O.png
 Boost 1.51.0: No errors.
 Boost 1.48.0: No errors.

 I use Intel C++ Compiler 13.1.1. Windows XP SP3.
 I compile Boost: call bjam toolset="intel" ---build-type=complete
 threading=multi link=static runtime-link=static

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