aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-09-16 18:17:05 +0100
committerJustin Clark-Casey (justincc)2014-11-25 23:18:38 +0000
commit5b6fb7245a2b5d519db9be4dcc5d118b58d38951 (patch)
treef70edc526081114e9dc9aabe55508982c70e308e /OpenSim/Region/Framework/Scenes/Scene.cs
parentAdd loglevel to jobengine that can be controlled via "debug jobengine logleve... (diff)
downloadopensim-SC_OLD-5b6fb7245a2b5d519db9be4dcc5d118b58d38951.zip
opensim-SC_OLD-5b6fb7245a2b5d519db9be4dcc5d118b58d38951.tar.gz
opensim-SC_OLD-5b6fb7245a2b5d519db9be4dcc5d118b58d38951.tar.bz2
opensim-SC_OLD-5b6fb7245a2b5d519db9be4dcc5d118b58d38951.tar.xz
Set ThreadPriority on main scene thread to highest.
This will only have an effect on Windows systems or mono with the (not recommended) mono-3.2.8 debug patch https://gist.github.com/justincc/31e52218d098529b4696 applied
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 0399a52..ce048ef 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1452,6 +1452,7 @@ namespace OpenSim.Region.Framework.Scenes
1452 } 1452 }
1453 else 1453 else
1454 { 1454 {
1455 Thread.CurrentThread.Priority = ThreadPriority.Highest;
1455 Update(-1); 1456 Update(-1);
1456 Watchdog.RemoveThread(); 1457 Watchdog.RemoveThread();
1457 m_isRunning = false; 1458 m_isRunning = false;