More TestClient fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2292 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -242,8 +242,8 @@ namespace OpenMetaverse.TestClient
|
||||
|
||||
foreach (TestClient client in clientsCopy.Values)
|
||||
{
|
||||
ThreadStart starter = delegate() { client.DoCommand(cmd, fromAgentID); };
|
||||
starter.BeginInvoke((AsyncCallback)delegate(IAsyncResult ar) { ++completed; }, null);
|
||||
ThreadPool.QueueUserWorkItem((WaitCallback)
|
||||
delegate(object state) { client.DoCommand(cmd, fromAgentID); ++completed; });
|
||||
}
|
||||
|
||||
while (completed < clientsCopy.Count)
|
||||
|
||||
Reference in New Issue
Block a user