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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user