From: Lars Op den Kamp Date: Wed, 28 Mar 2012 19:05:28 +0000 (+0200) Subject: cec: always signal in CCECInputBuffer::Push when there is data X-Git-Tag: upstream/2.2.0~1^2~31^2~41 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8f611d9d36fc638b357f3eb687e32013d820ec6b;p=deb_libcec.git cec: always signal in CCECInputBuffer::Push when there is data --- diff --git a/src/lib/adapter/USBCECAdapterCommunication.cpp b/src/lib/adapter/USBCECAdapterCommunication.cpp index 5ca36bd..c1645d0 100644 --- a/src/lib/adapter/USBCECAdapterCommunication.cpp +++ b/src/lib/adapter/USBCECAdapterCommunication.cpp @@ -240,10 +240,7 @@ void *CUSBCECAdapterCommunication::Process(void) } if (!IsStopped()) - { - Sleep(5); WriteNextCommand(); - } } /* notify all threads that are waiting on messages to be sent */