Revision: 1308
http://svn.sourceforge.net/complement/?rev=1308&view=rev
Author: complement
Date: 2006-10-10 08:49:34 -0700 (Tue, 10 Oct 2006)
Log Message:
-----------
don't kill not finished threads in ThreadMgr's dtor, this lead to whole process termination
Modified Paths:
--------------
trunk/explore/lib/mt/ChangeLog
trunk/explore/lib/mt/thr_mgr.cc
Modified: trunk/explore/lib/mt/ChangeLog
===================================================================
--- trunk/explore/lib/mt/ChangeLog 2006-10-10 15:45:08 UTC (rev 1307)
+++ trunk/explore/lib/mt/ChangeLog 2006-10-10 15:49:34 UTC (rev 1308)
@@ -1,3 +1,9 @@
+2006-10-10 Petr Ovtchenkov <pt...@is...>
+
+ * thr_mgr.cc: don't kill not finished threads in ThreadMgr's
+ dtor, this lead to whole process termination [I should
+ investigate why].
+
2006-09-22 Petr Ovtchenkov <pt...@is...>
* xmt.cc: no need to lock around thread creation;
Modified: trunk/explore/lib/mt/thr_mgr.cc
===================================================================
--- trunk/explore/lib/mt/thr_mgr.cc 2006-10-10 15:45:08 UTC (rev 1307)
+++ trunk/explore/lib/mt/thr_mgr.cc 2006-10-10 15:49:34 UTC (rev 1308)
@@ -1,4 +1,4 @@
-// -*- C++ -*- Time-stamp: <06/09/22 20:02:16 ptr>
+// -*- C++ -*- Time-stamp: <06/10/10 19:33:54 ptr>
/*
* Copyright (c) 1997-1999, 2002, 2005, 2006
@@ -33,7 +33,7 @@
while ( i != _M_c.end() ) {
if ( (*i)->good() ) {
- (*i)->kill( SIGTERM );
+ // (*i)->kill( SIGTERM );
}
(*i)->join();
delete *i;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|