From c92dc7e6afd9906a25f2c503ad1aacff05c2f08f Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Wed, 4 Apr 2012 19:27:43 -0700 Subject: [PATCH] Reverting SocketComm change tuning I/O behaviour. Not sure that's right. --- src/RemoteSerializer.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RemoteSerializer.cc b/src/RemoteSerializer.cc index 110a25e66f..bf195e9d3a 100644 --- a/src/RemoteSerializer.cc +++ b/src/RemoteSerializer.cc @@ -3399,8 +3399,10 @@ void SocketComm::Run() small_timeout.tv_usec = io->CanWrite() || io->CanRead() ? 1 : 10; +#if 0 if ( ! io->CanWrite() ) usleep(10); +#endif int a = select(max_fd + 1, &fd_read, &fd_write, &fd_except, &small_timeout);