mention multi-core systems and wxThread::GetCPUCount

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-12-20 21:26:25 +00:00
parent 267400868a
commit c6427d4da4
2 changed files with 27 additions and 18 deletions

View File

@@ -972,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();
@@ -1634,7 +1638,7 @@ bool wxIsMainThread();
wxMutexGuiEnter();
// Call GUI here:
my_window-DrawSomething();
my_window->DrawSomething();
wxMutexGuiLeave();
}