]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/thread.h
close the handle returned by OpenProcessToken() (fixes #10129)
[wxWidgets.git] / interface / wx / thread.h
index 20d0f92a608d4210e801fd0a36f0eb806484069f..2bb854a14b5a36ab94662972f46051401c36f31d 100644 (file)
@@ -454,6 +454,12 @@ public:
     */
     virtual ExitCode Entry() = 0;
 
+    /**
+        @deprecated
+        Use CreateThread() instead.
+    */
+    wxThreadError Create(unsigned int stackSize = 0);
+
     /**
         Creates a new thread of the given @a kind.
 
@@ -966,6 +972,10 @@ public:
     /**
         Returns the number of system CPUs or -1 if the value is unknown.
 
+        For multi-core systems the returned value is typically the total number
+        of @e cores, since the OS usually abstract a single N-core CPU
+        as N different cores.
+
         @see SetConcurrency()
     */
     static int GetCPUCount();
@@ -1628,7 +1638,7 @@ bool wxIsMainThread();
         wxMutexGuiEnter();
 
         // Call GUI here:
-        my_window-DrawSomething();
+        my_window->DrawSomething();
 
         wxMutexGuiLeave();
     }