aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMW2008-04-16 16:28:02 +0000
committerMW2008-04-16 16:28:02 +0000
commit770c395e86b234822d249e146ec845d3a5108b6b (patch)
treeb27ae5fa6662acd59ee77b6fb3be017273393d54 /OpenSim/Region
parent* From: Alan M Webb <awebb@vnet.ibm.com> (diff)
downloadopensim-SC_OLD-770c395e86b234822d249e146ec845d3a5108b6b.zip
opensim-SC_OLD-770c395e86b234822d249e146ec845d3a5108b6b.tar.gz
opensim-SC_OLD-770c395e86b234822d249e146ec845d3a5108b6b.tar.bz2
opensim-SC_OLD-770c395e86b234822d249e146ec845d3a5108b6b.tar.xz
moved the Thread.Sleep(500), to the correct side of the ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); call.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 43bba8b..9a7274c 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -1460,8 +1460,8 @@ namespace OpenSim.Region.Communications.OGS1
1460 AsyncCallback ConnectedMethodCallback = new AsyncCallback(ConnectedMethod); 1460 AsyncCallback ConnectedMethodCallback = new AsyncCallback(ConnectedMethod);
1461 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); 1461 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
1462 IAsyncResult ar = socket.BeginConnect(m_EndPoint, ConnectedMethodCallback, socket); 1462 IAsyncResult ar = socket.BeginConnect(m_EndPoint, ConnectedMethodCallback, socket);
1463 System.Threading.Thread.Sleep(500);
1464 ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); 1463 ar.AsyncWaitHandle.WaitOne(timeOut*1000, false);
1464 System.Threading.Thread.Sleep(500);
1465 } 1465 }
1466 1466
1467 public bool Available 1467 public bool Available