X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5cc517ff644214ce0aec79348277c7d2ff17e98..a2e50fc2abd2d544ca2d2a884067bcd2e3b4b35b:/interface/wx/thread.h?ds=sidebyside diff --git a/interface/wx/thread.h b/interface/wx/thread.h index 20d0f92a60..2bb854a14b 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -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(); }