wxThread::Sleep() is the same as wxMilliSleep() on all platforms but Mac (and maybe it should be the same thing there as well)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,11 +22,6 @@
|
||||
|
||||
#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()
|
||||
|
Reference in New Issue
Block a user