cec: and now proper predicates
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommunication.h
index 659e65922d1a519fb946ffda8a7817d071f68e71..d2de30e17447c7f41e15b895dd5ee5aa73af4613 100644 (file)
@@ -85,7 +85,8 @@ namespace CEC
     PLATFORM::SyncedBuffer<CCECAdapterMessage *> m_inBuffer;
     PLATFORM::SyncedBuffer<CCECAdapterMessage *> m_outBuffer;
     PLATFORM::CMutex                             m_mutex;
-    PLATFORM::CCondition                         m_rcvCondition;
+    PLATFORM::CCondition<volatile bool &>        m_rcvCondition;
+    volatile bool                                m_bHasData;
     uint8_t                                      m_iLineTimeout;
     uint16_t                                     m_iFirmwareVersion;
     cec_command                                  m_currentframe;