|
@@ -103,7 +103,7 @@ public: |
|
|
if (! isRunning())
|
|
|
if (! isRunning())
|
|
|
break;
|
|
|
break;
|
|
|
|
|
|
|
|
|
Sleep(0);
|
|
|
|
|
|
|
|
|
Sleep(5);
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
else
|
|
|
{
|
|
|
{
|
|
@@ -300,6 +300,8 @@ bool ChildProcess::waitForProcessToFinish (const int timeoutMs) const |
|
|
{
|
|
|
{
|
|
|
if (! isRunning())
|
|
|
if (! isRunning())
|
|
|
return true;
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
carla_msleep(5);
|
|
|
}
|
|
|
}
|
|
|
while (timeoutMs < 0 || Time::getMillisecondCounter() < timeoutTime);
|
|
|
while (timeoutMs < 0 || Time::getMillisecondCounter() < timeoutTime);
|
|
|
|
|
|
|
|
|