[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sptk-commits
Subject:    r1028 - trunk/src/utils
From:       alexey () mail ! total-knowledge ! com
Date:       2009-10-25 8:53:18
Message-ID: courier.000000004AE411FE.00005519 () mail ! total-knowledge ! com
[Download RAW message or body]

Author: alexey
Date: 2009-10-25 01:53:18 -0700 (Sun, 25 Oct 2009)
New Revision: 1028

Modified:
   trunk/src/utils/CThreadManager.cpp
Log:
Added missing support for terminated threads cleanup on Windows

Modified: trunk/src/utils/CThreadManager.cpp
===================================================================
--- trunk/src/utils/CThreadManager.cpp	2009-10-25 08:28:23 UTC (rev 1027)
+++ trunk/src/utils/CThreadManager.cpp	2009-10-25 08:53:18 UTC (rev 1028)
@@ -48,12 +48,7 @@
     } else
         m_log = 0;
 
-#ifndef _WIN32
-    /// Windows automatically destroys terminated threads,
-    /// but *nix doesn't. So we need to run an extra thread
-    /// to join terminated threads on *nix.
     CThread::run();
-#endif
 }
 
 CThreadManager::~CThreadManager()

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic