[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Change the VNC main input loop delay from 1 second down to 10



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d6bab69e856fe72cbaa4008285ed529954d1c3a9
# Parent  48211017a16af342fb9b8f9a03f69987d9bf74d5
Change the VNC main input loop delay from 1 second down to 10
msec.  The 1 second delay was causing significant latency problems
with the mouse while there is no measurable overhead in lowering the
delay down to 10 msec.

Signed-off-by: Don Dugger <donald.d.dugger@xxxxxxxxx>

diff -r 48211017a16a -r d6bab69e856f tools/ioemu/target-i386-dm/helper2.c
--- a/tools/ioemu/target-i386-dm/helper2.c      Thu Mar 16 17:41:01 2006
+++ b/tools/ioemu/target-i386-dm/helper2.c      Thu Mar 16 17:43:07 2006
@@ -447,9 +447,9 @@
             }
         }
 
-        /* Wait up to one seconds. */
+        /* Wait up to 10 msec. */
         tv.tv_sec = 0;
-        tv.tv_usec = 100000;
+        tv.tv_usec = 10000;
 
         retval = select(highest_fds+1, &wakeup_rfds, NULL, NULL, &tv);
         if (retval == -1) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.