2
0
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:
Peter Dimov
2006-07-06 13:45:13 +00:00
parent 9683e0f1cc
commit 228f11262e

View File

@@ -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