From 5991a98d8087a0974465fe0b2c74860672bc6b3d Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Tue, 16 Sep 2014 18:17:05 +0100 Subject: [PATCH] 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(+) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 28dbccb95f..bb9980f135 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -1451,6 +1451,7 @@ namespace OpenSim.Region.Framework.Scenes } else { + Thread.CurrentThread.Priority = ThreadPriority.Highest; Update(-1); Watchdog.RemoveThread(); m_isRunning = false;