]> git.saurik.com Git - wxWidgets.git/commitdiff
no change; just reformat wxThreadHelper::KillThread's comment and refer to wxThreadHe...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Fri, 28 Nov 2008 17:56:10 +0000 (17:56 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Fri, 28 Nov 2008 17:56:10 +0000 (17:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/thread.h

index 9e07b4e8215867854fdf79750c208f21e0057e3b..0b237cb4f2a787ee34c2f1498284249c1dfd0643 100644 (file)
@@ -633,11 +633,10 @@ class WXDLLIMPEXP_BASE wxThreadHelper
 private:
     void KillThread()
     {
-        // If detached thread is about to finish, it will set
-        // m_thread to NULL so don't delete it then
-        // But if KillThread is called before detached thread
-        // sets it to NULL, then the thread object still
-        // exists and can be killed
+        // If wxThreadHelperThread is detached and is about to finish, it will
+        // set m_thread to NULL so don't delete it then.
+        // But if KillThread is called before wxThreadHelperThread (in detached mode)
+        // sets it to NULL, then the thread object still exists and can be killed
         wxCriticalSectionLocker locker(m_critSection);
 
         if ( m_thread )