* Switched to a plain lock for the ClientManager collections and protected the TryGetValues with try/catch instead of a lock

* Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
This commit is contained in:
John Hurliman
2009-10-14 14:25:58 -07:00
parent 25878d6828
commit 1e9e9df0b3
3 changed files with 85 additions and 71 deletions

View File

@@ -933,7 +933,7 @@ namespace OpenSim
m_sceneManager.ForEachScene(
delegate(Scene scene)
{
scene.ClientManager.ForEach(
scene.ClientManager.ForEachSync(
delegate(IClientAPI client)
{
connections.AppendFormat("{0}: {1} ({2}) from {3} on circuit {4}\n",