From: Lars Op den Kamp Date: Wed, 2 Nov 2011 23:42:51 +0000 (+0100) Subject: cec: and reverted the previous commit again (partially) cause it wouldn't compile... X-Git-Tag: upstream/2.2.0~1^2~132 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c02980af7d1e94a8f1de4df4572a551bb796bd5f;p=deb_libcec.git cec: and reverted the previous commit again (partially) cause it wouldn't compile on windows. --- 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;