[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Remove timeout on select -- there is no need for it, since we don't do anything
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID eae64901e428da38b2bf50d053a771958f757101 # Parent 6b6e09240435e559a116ea26c569f82be58c68b9 Remove timeout on select -- there is no need for it, since we don't do anything in the main loop except service I/O. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 6b6e09240435 -r eae64901e428 tools/console/daemon/io.c --- a/tools/console/daemon/io.c Wed Dec 7 10:54:57 2005 +++ b/tools/console/daemon/io.c Wed Dec 7 11:47:46 2005 @@ -545,7 +545,6 @@ do { struct domain *d, *n; - struct timeval tv = { 100, 0 }; int max_fd = -1; FD_ZERO(&readfds); @@ -570,7 +569,7 @@ } } - ret = select(max_fd + 1, &readfds, &writefds, 0, &tv); + ret = select(max_fd + 1, &readfds, &writefds, 0, NULL); if (FD_ISSET(xs_fileno(xs), &readfds)) handle_xs(xs_fileno(xs)); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |