From c02980af7d1e94a8f1de4df4572a551bb796bd5f Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 3 Nov 2011 00:42:51 +0100 Subject: [PATCH] cec: and reverted the previous commit again (partially) cause it wouldn't compile on windows. --- src/lib/AdapterCommunication.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/AdapterCommunication.cpp b/src/lib/AdapterCommunication.cpp index 3f6f462..6614783 100644 --- a/src/lib/AdapterCommunication.cpp +++ b/src/lib/AdapterCommunication.cpp @@ -313,9 +313,8 @@ void *CAdapterCommunication::Process(void) while (!IsStopped()) { ReadFromDevice(500); - sched_yield(); + Sleep(5); WriteNextCommand(); - sched_yield(); } return NULL; -- 2.34.1