mirror of
https://github.com/boostorg/thread.git
synced 2026-02-10 11:52:10 +00:00
Removed try catch(...) from thread proxy
[SVN r35328]
This commit is contained in:
@@ -100,8 +100,8 @@ 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;
|
||||
p->started();
|
||||
@@ -109,13 +109,13 @@ extern "C" {
|
||||
#if defined(BOOST_HAS_WINTHREADS)
|
||||
on_thread_exit();
|
||||
#endif
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
//}
|
||||
//catch (...)
|
||||
//{
|
||||
#if defined(BOOST_HAS_WINTHREADS)
|
||||
on_thread_exit();
|
||||
// on_thread_exit();
|
||||
#endif
|
||||
}
|
||||
//}
|
||||
#if defined(BOOST_HAS_MPTASKS)
|
||||
::boost::detail::thread_cleanup();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user