From a25d71a8994fddaa760ca401db1d4146ac8a0185 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 5 Jul 2006 15:39:08 +0000 Subject: [PATCH] * fhandler.h (fhandler_socket::wait): Reset default timeout to 10ms. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index dc5c9ee1e..0d72da3cb 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2006-07-05 Corinna Vinschen + + * fhandler.h (fhandler_socket::wait): Reset default timeout to 10ms. + 2006-07-05 Corinna Vinschen * path.cc (path_conv::check): Ignore has_ea setting, it's always unset diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 54f00bc3b..313a655dd 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -425,7 +425,7 @@ class fhandler_socket: public fhandler_base } status; bool prepare (HANDLE &event, long event_mask); - int wait (HANDLE event, int flags, DWORD timeout = INFINITE); + int wait (HANDLE event, int flags, DWORD timeout = 10); void release (HANDLE event); public: