Hi,
My Environment:
* MSVC 8.0
* boost v1.33.1
Using the example program below, I'm getting an assertion within boost's
thread class during a call to join. join() is being called twice: 1)
in main() 2) in ~Thread(). If I remove one of the calls to join() the
assertion goes away. Though this example's usage seems redundant such
behavior should be similar to the scenario of multiple threads waiting
on the same thread via join().
Help would be appreciated.
Regards,
Jason
// --------------------------------- BEGIN EXAMPLE PROGRAM
---------------------------
// Assertion failed: m_joinable, file
C:\...\boost\boost_1_33_1\libs\thread\build\..\src\thread.cpp, line 223
// Call Stack begins in the following code at the end of main() within
~Thread() in the call to join().
#include