From 228f11262e1688ee2e29cae2cb7d52d0ed67dcc4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 6 Jul 2006 13:45:13 +0000 Subject: [PATCH] Removed the infamous catch(...) [SVN r34467] --- src/thread.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/thread.cpp b/src/thread.cpp index 1d4543ff..a7d3811b 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -105,7 +105,7 @@ extern "C" { static OSStatus thread_proxy(void* param) #endif { - try +// try { thread_param* p = static_cast(param); boost::function0 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