#1710 Use usleep on Linux and Sleep on windows

This commit is contained in:
Bjørnar Grip Fjær 2017-07-31 11:26:21 +02:00
parent 48401d5a85
commit 3dad356d7d

View File

@ -2163,7 +2163,11 @@ void RiaApplication::waitForProcess() const
{
while (m_runningWorkerProcess)
{
#ifdef WIN32
Sleep(100);
#else
usleep(100000);
#endif
}
}