repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0ca6e
)
cec: replaced Sleep() in CAdapterCommunication::Process() by sched_yield()
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 2 Nov 2011 23:21:19 +0000
(
00:21
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 2 Nov 2011 23:21:19 +0000
(
00:21
+0100)
src/lib/AdapterCommunication.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/AdapterCommunication.cpp
b/src/lib/AdapterCommunication.cpp
index 00fa87e408615828cf0615dd045d1e1df74f5bc8..3f6f462581cdcfb757d00a663f0ad70f7779e0a8 100644
(file)
--- a/
src/lib/AdapterCommunication.cpp
+++ b/
src/lib/AdapterCommunication.cpp
@@
-313,9
+313,9
@@
void *CAdapterCommunication::Process(void)
while (!IsStopped())
{
ReadFromDevice(500);
-
Sleep(5
);
+
sched_yield(
);
WriteNextCommand();
-
Sleep(5
);
+
sched_yield(
);
}
return NULL;