projects
/
guacd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2304941
)
Removing forced sleep between message handling. Can cause excess delays if handle_mes...
author
Michael Jumper <zhangmaike@users.sourceforge.net>
Mon, 28 Nov 2011 10:29:05 +0000
(
02:29
-0800)
committer
Michael Jumper <zhangmaike@users.sourceforge.net>
Mon, 28 Nov 2011 10:29:05 +0000
(
02:29
-0800)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index
1a92f88
..
abaf442
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-135,8
+135,9
@@
void* __guac_client_output_thread(void* data) {
}
}
- /* Sleep before handling more messages */
- __guacd_sleep(GUAC_SERVER_MESSAGE_HANDLE_FREQUENCY);
+ /* Do not spin while waiting for old sync */
+ else
+ __guacd_sleep(GUAC_SERVER_MESSAGE_HANDLE_FREQUENCY);
}
}