cec: and reverted the previous commit again (partially) cause it wouldn't compile...
[deb_libcec.git] / src / lib / AdapterCommunication.cpp
index 3f6f462581cdcfb757d00a663f0ad70f7779e0a8..661478396a58a8ce09f7d5ac992a45ffd27f7e0f 100644 (file)
@@ -313,9 +313,8 @@ void *CAdapterCommunication::Process(void)
   while (!IsStopped())
   {
     ReadFromDevice(500);
-    sched_yield();
+    Sleep(5);
     WriteNextCommand();
-    sched_yield();
   }
 
   return NULL;