aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorAdam Frisby2009-02-23 07:57:54 +0000
committerAdam Frisby2009-02-23 07:57:54 +0000
commitd9cb81e8fe2193ccb1b5420a47747190f3acae2a (patch)
tree636ec32c5e1883efbcdc1e28e3a72eb4c3dc167d /OpenSim/Region/Framework
parent* Fix for recent thread patch - IsAlive apparently is not as reliable as Thre... (diff)
downloadopensim-SC-d9cb81e8fe2193ccb1b5420a47747190f3acae2a.zip
opensim-SC-d9cb81e8fe2193ccb1b5420a47747190f3acae2a.tar.gz
opensim-SC-d9cb81e8fe2193ccb1b5420a47747190f3acae2a.tar.bz2
opensim-SC-d9cb81e8fe2193ccb1b5420a47747190f3acae2a.tar.xz
* Commenting out threaded Scene update for the moment.
* It works, but makes certain building tasks slow to update.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 984c567..3cf3038 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -855,6 +855,7 @@ namespace OpenSim.Region.Framework.Scenes
855 // run through all entities looking for updates (slow) 855 // run through all entities looking for updates (slow)
856 if (m_frame % m_update_entities == 0) 856 if (m_frame % m_update_entities == 0)
857 { 857 {
858 /* // Adam Experimental
858 if (m_updateEntitiesThread == null) 859 if (m_updateEntitiesThread == null)
859 { 860 {
860 m_updateEntitiesThread = new Thread(m_sceneGraph.UpdateEntities); 861 m_updateEntitiesThread = new Thread(m_sceneGraph.UpdateEntities);
@@ -864,8 +865,8 @@ namespace OpenSim.Region.Framework.Scenes
864 865
865 if(m_updateEntitiesThread.ThreadState == ThreadState.Stopped) 866 if(m_updateEntitiesThread.ThreadState == ThreadState.Stopped)
866 m_updateEntitiesThread.Start(); 867 m_updateEntitiesThread.Start();
867 868 */
868 //m_sceneGraph.UpdateEntities(); 869 m_sceneGraph.UpdateEntities();
869 } 870 }
870 871
871 872