Boost C++ Libraries: Ticket #486: Exception safety in class \"thread\" https://svn.boost.org/trac10/ticket/486 <pre class="wiki">If an exception is thrown during the copying of the "threadfunc" object in function "thread_proxy", the new thread silently ends and the constructor of class "thread" never returns. Therefore I would suggest to put a copy of "threadfunc" in the "thread_param" object (instead of a reference) and move it to the local variable in function "thread_proxy" via "threadfunc.swap(…)". In this way a potential exception would be thrown in the constructor of class "thread" and could be handled by the application. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/486 Trac 1.4.3 mclow Fri, 24 Mar 2006 16:05:03 GMT summary changed https://svn.boost.org/trac10/ticket/486#comment:1 https://svn.boost.org/trac10/ticket/486#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Exception safety in class "thread"</span> → <span class="trac-field-new">Exception safety in class \"thread\"</span> </li> </ul> Ticket Roland Schwarz Sun, 01 Oct 2006 13:27:30 GMT status changed https://svn.boost.org/trac10/ticket/486#comment:2 https://svn.boost.org/trac10/ticket/486#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=541730 The thread_proxy no longer silently dies on exceptions. </pre> Ticket