2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-09 11:32:12 +00:00

Merged change from trunk removing catch(...) clauses

[SVN r50524]
This commit is contained in:
Anthony Williams
2009-01-09 11:06:53 +00:00
parent 5af323102a
commit 8ab0d5acdd
2 changed files with 12 additions and 8 deletions

View File

@@ -132,10 +132,12 @@ namespace boost
catch(thread_interrupted const&)
{
}
catch(...)
{
std::terminate();
}
// Removed as it stops the debugger identifying the cause of the exception
// Unhandled exceptions still cause the application to terminate
// catch(...)
// {
// std::terminate();
// }
detail::tls_destructor(thread_info.get());
detail::set_current_thread_data(0);