Update of /cvsroot/boost/boost/libs/thread/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17859
Modified Files:
thread.cpp
Log Message:
Removed the infamous catch(...)
Index: thread.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/thread/src/thread.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- thread.cpp 14 Jul 2005 15:46:50 -0000 1.21
+++ thread.cpp 6 Jul 2006 13:45:13 -0000 1.22
@@ -105,7 +105,7 @@
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 @@
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
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs