]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thread.h
set a global flag on shut down instead calling Delete() on all threads sequentially...
[wxWidgets.git] / include / wx / thread.h
index e7dcf882acb9571aa61efe4ecf47f4504840da69..3c3493c3bebc5be5df3967e82ea130f2598f33f8 100644 (file)
 
 #if wxUSE_THREADS
 
-// Windows headers define it
-#ifdef Yield
-    #undef Yield
-#endif
-
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
@@ -452,7 +447,7 @@ public:
 
         // Sleep during the specified period of time in milliseconds
         //
-        // NB: at least under MSW worker threads can not call ::wxSleep()!
+        // This is the same as wxMilliSleep().
     static void Sleep(unsigned long milliseconds);
 
         // get the number of system CPUs - useful with SetConcurrency()