More TestClient fixes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2292 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-10-10 20:23:51 +00:00
parent ff5401f42f
commit 5457ff705c
2 changed files with 4 additions and 4 deletions

View File

@@ -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)