[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/portage/win32libs-sources/dbus-src
From:       Romain Pokrzywka <romain () kdab ! net>
Date:       2010-10-04 0:06:23
Message-ID: 20101004000623.3EBFAAC88C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1182252 by pokrzywka:

use a 1s timeout instead of 5s, as we want to check the hangs are gone more than being optimal

 M  +1 -1      0001-tentative-workaround-for-the-random-hangs-on-windows.patch  


--- trunk/kdesupport/emerge/portage/win32libs-sources/dbus-src/0001-tentative-workaround-for-the-random-hangs-on-windows.patch \
#1182251:1182252 @@ -16,7 +16,7 @@
      }
  
 +  // Avoid random lockups with send(), for lack of a better solution so far
-+  tv.tv_sec = timeout_milliseconds < 0 ? 5 : timeout_milliseconds / 1000;
++  tv.tv_sec = timeout_milliseconds < 0 ? 1 : timeout_milliseconds / 1000;
 +  tv.tv_usec = timeout_milliseconds < 0 ? 0 : (timeout_milliseconds % 1000) * 1000;
  
 -  tv.tv_sec = timeout_milliseconds / 1000;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic