mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 11:32:12 +00:00
Removed the infamous catch(...)
[SVN r34467]
This commit is contained in:
@@ -105,7 +105,7 @@ extern "C" {
|
||||
static OSStatus thread_proxy(void* param)
|
||||
#endif
|
||||
{
|
||||
try
|
||||
// try
|
||||
{
|
||||
thread_param* p = static_cast<thread_param*>(param);
|
||||
boost::function0<void> threadfunc = p->m_threadfunc;
|
||||
@@ -115,12 +115,12 @@ extern "C" {
|
||||
on_thread_exit();
|
||||
#endif
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
#if defined(BOOST_HAS_WINTHREADS)
|
||||
on_thread_exit();
|
||||
#endif
|
||||
}
|
||||
// catch (...)
|
||||
// {
|
||||
//#if defined(BOOST_HAS_WINTHREADS)
|
||||
// on_thread_exit();
|
||||
//#endif
|
||||
// }
|
||||
#if defined(BOOST_HAS_MPTASKS)
|
||||
::boost::detail::thread_cleanup();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user