diff options
author | John Hurliman | 2009-10-26 16:33:04 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-26 16:33:04 -0700 |
commit | 4847e62e9fd1cd473cc180220a379efba93f94a6 (patch) | |
tree | 509da282d16f1cfa7d2500debc5b56c48799ec98 /OpenSim/Region/CoreModules | |
parent | Added calls to GC.AddMemoryPressure() when unmanaged memory is allocated for ... (diff) | |
download | opensim-SC-4847e62e9fd1cd473cc180220a379efba93f94a6.zip opensim-SC-4847e62e9fd1cd473cc180220a379efba93f94a6.tar.gz opensim-SC-4847e62e9fd1cd473cc180220a379efba93f94a6.tar.bz2 opensim-SC-4847e62e9fd1cd473cc180220a379efba93f94a6.tar.xz |
* Switched all operations on the list of clients that could be either sync or async to use Scene.ForEachClient() instead of referencing ClientManager directly
* Added a new [Startup] config option called use_async_when_possible to signal how to run operations that could be either sync or async
* Changed Scene.ForEachClient to respect use_async_when_possible
* Fixing a potential deadlock in Parallel.ForEach by locking on a temporary object instead of the enumerator (which may be shared across multiple invocations on ForEach). Thank you diva
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs index 7855862..273c128 100644 --- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | |||
@@ -114,7 +114,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods | |||
114 | { | 114 | { |
115 | string reasonStr = Utils.BytesToString(reason); | 115 | string reasonStr = Utils.BytesToString(reason); |
116 | 116 | ||
117 | m_scene.ClientManager.ForEach( | 117 | m_scene.ForEachClient( |
118 | delegate(IClientAPI controller) | 118 | delegate(IClientAPI controller) |
119 | { | 119 | { |
120 | if (controller.AgentId != godID) | 120 | if (controller.AgentId != godID) |