gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r21708 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r21708 - gnunet/src/util
Date: Fri, 1 Jun 2012 18:53:20 +0200

Author: grothoff
Date: 2012-06-01 18:53:20 +0200 (Fri, 01 Jun 2012)
New Revision: 21708

Modified:
   gnunet/src/util/network.c
Log:
-bratao:  there is one little innofensive patch. http://pastebin.com/iRharWUm , 
On W32 we waiting 10 microseconds on the select, and its completely unecessary. 
Some tests are 30% faster to me.


Modified: gnunet/src/util/network.c
===================================================================
--- gnunet/src/util/network.c   2012-06-01 16:42:02 UTC (rev 21707)
+++ gnunet/src/util/network.c   2012-06-01 16:53:20 UTC (rev 21708)
@@ -1452,7 +1452,7 @@
       struct timeval tvslice;
 
       tvslice.tv_sec = 0;
-      tvslice.tv_usec = 10;
+      tvslice.tv_usec = 0;
       retcode = select (nfds, &aread, &awrite, &aexcept, &tvslice);
       if (retcode == -1)
         retcode = 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]