1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Use Thread::sleep() instead of yield() when waiting for ChildProcess output to avoid eating CPU

This commit is contained in:
ed 2020-11-11 17:02:45 +00:00
parent f46b60280e
commit 884f2c1332

View file

@ -448,7 +448,7 @@ public:
if (! isRunning())
break;
Thread::yield();
Thread::sleep (1);
}
else
{