This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Windows: Use Thread::sleep() instead of yield() when waiting for ChildProcess output to avoid eating CPU
tags/2021-05-28
ed
5 years ago
parent
f46b60280e
commit
884f2c1332
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/juce_core/native/juce_win32_Threads.cpp
+ 1
- 1
modules/juce_core/native/juce_win32_Threads.cpp
View File
@@ -448,7 +448,7 @@ public:
if (! isRunning())
break;
Thread::
yield(
);
Thread::
sleep (1
);
}
else
{
Write
Preview
Loading…
Cancel
Save