summaryrefslogtreecommitdiff
path: root/ace/Connector.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-25 03:49:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-04-25 03:49:18 +0000
commit043a67bf38b04a8b8df4b160d6e80d4fdca778c8 (patch)
treebe494b629d321ad771eba4daf43e2b4ba429b1a6 /ace/Connector.cpp
parent91a8bd260d74d9d9e31e9353a45149a988cf130f (diff)
downloadATCD-043a67bf38b04a8b8df4b160d6e80d4fdca778c8.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Connector.cpp')
-rw-r--r--ace/Connector.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Connector.cpp b/ace/Connector.cpp
index e2654f6a95c..e8a6e96f908 100644
--- a/ace/Connector.cpp
+++ b/ace/Connector.cpp
@@ -284,9 +284,10 @@ ACE_Connector<SH, PR_CO_2>::handle_output (ACE_HANDLE handle)
#if defined (ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS)
// Win32 has a timing problem - if you check to see if the
- // connection has completed too fast, it will fail - so wait a bit
- // to let it catch up.
- ACE_OS::sleep (0);
+ // connection has completed too fast, it will fail - so wait 1
+ // millisecond to let it catch up.
+ ACE_Time_Value tv (0, 1000);
+ ACE_OS::sleep (tv);
#endif /* ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS */
// Check to see if we're connected.