From 5b6fb7245a2b5d519db9be4dcc5d118b58d38951 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 16 Sep 2014 18:17:05 +0100 Subject: 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 --- OpenSim/Region/Framework/Scenes/Scene.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/Framework/Scenes') 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 } else { + Thread.CurrentThread.Priority = ThreadPriority.Highest; Update(-1); Watchdog.RemoveThread(); m_isRunning = false; -- cgit v1.1