wxUsleep() introduced (and documented) to try to work around usleep() bug in
MT programs under Solaris git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -299,6 +299,11 @@ class wxSleepTimer: public wxTimer
|
||||
|
||||
static wxTimer *wxTheSleepTimer = NULL;
|
||||
|
||||
void wxUsleep(unsigned long milliseconds)
|
||||
{
|
||||
::Sleep(milliseconds);
|
||||
}
|
||||
|
||||
void wxSleep(int nSecs)
|
||||
{
|
||||
#if 0 // WIN32 hangs app
|
||||
|
Reference in New Issue
Block a user