aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJohn Hurliman2010-03-16 12:03:04 -0700
committerJohn Hurliman2010-03-16 12:03:04 -0700
commitb51f40da8f24b78fa6101d70726ca2000e5b0341 (patch)
tree945d9a16dee81db24afd8284e9565d52408b68ec /OpenSim/Region/Framework
parentFixed several unhandled exceptions and performance issues with PrimitiveBaseS... (diff)
downloadopensim-SC_OLD-b51f40da8f24b78fa6101d70726ca2000e5b0341.zip
opensim-SC_OLD-b51f40da8f24b78fa6101d70726ca2000e5b0341.tar.gz
opensim-SC_OLD-b51f40da8f24b78fa6101d70726ca2000e5b0341.tar.bz2
opensim-SC_OLD-b51f40da8f24b78fa6101d70726ca2000e5b0341.tar.xz
Removed the unused use_async_when_possible config variable
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c510dc8..baa8759 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -131,7 +131,6 @@ namespace OpenSim.Region.Framework.Scenes
131 private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing 131 private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing
132 private int m_incrementsof15seconds; 132 private int m_incrementsof15seconds;
133 private volatile bool m_backingup; 133 private volatile bool m_backingup;
134 private bool m_useAsyncWhenPossible;
135 134
136 private Dictionary<UUID, ReturnInfo> m_returns = new Dictionary<UUID, ReturnInfo>(); 135 private Dictionary<UUID, ReturnInfo> m_returns = new Dictionary<UUID, ReturnInfo>();
137 private Dictionary<UUID, SceneObjectGroup> m_groupsWithTargets = new Dictionary<UUID, SceneObjectGroup>(); 136 private Dictionary<UUID, SceneObjectGroup> m_groupsWithTargets = new Dictionary<UUID, SceneObjectGroup>();
@@ -654,9 +653,6 @@ namespace OpenSim.Region.Framework.Scenes
654 // 653 //
655 IConfig startupConfig = m_config.Configs["Startup"]; 654 IConfig startupConfig = m_config.Configs["Startup"];
656 655
657 // Should we try to run loops synchronously or asynchronously?
658 m_useAsyncWhenPossible = startupConfig.GetBoolean("use_async_when_possible", false);
659
660 //Animation states 656 //Animation states
661 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false); 657 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false);
662 // TODO: Change default to true once the feature is supported 658 // TODO: Change default to true once the feature is supported
@@ -4289,20 +4285,7 @@ namespace OpenSim.Region.Framework.Scenes
4289 4285
4290 public void ForEachClient(Action<IClientAPI> action) 4286 public void ForEachClient(Action<IClientAPI> action)
4291 { 4287 {
4292 ForEachClient(action, m_useAsyncWhenPossible);
4293 }
4294
4295 public void ForEachClient(Action<IClientAPI> action, bool doAsynchronous)
4296 {
4297 // FIXME: Asynchronous iteration is disabled until we have a threading model that
4298 // can support calling this function from an async packet handler without
4299 // potentially deadlocking
4300 m_clientManager.ForEachSync(action); 4288 m_clientManager.ForEachSync(action);
4301
4302 //if (doAsynchronous)
4303 // m_clientManager.ForEach(action);
4304 //else
4305 // m_clientManager.ForEachSync(action);
4306 } 4289 }
4307 4290
4308 public bool TryGetClient(UUID avatarID, out IClientAPI client) 4291 public bool TryGetClient(UUID avatarID, out IClientAPI client)