1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00
This commit is contained in:
jules 2008-06-20 17:17:54 +00:00
parent 05980836ce
commit a172f50a98

View file

@ -49,6 +49,7 @@ BEGIN_JUCE_NAMESPACE
#include "../../../src/juce_core/io/files/juce_File.h"
#include "../../../src/juce_core/io/files/juce_NamedPipe.h"
#include "../../../src/juce_core/threads/juce_Thread.h"
//==============================================================================
@ -75,7 +76,7 @@ void NamedPipe::cancelPendingReads()
int timeout = 2000;
while (intern->blocked && --timeout >= 0)
sleep (2);
Thread::sleep (2);
intern->stopReadOperation = false;
}