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
ghosts
Justin Clark-Casey (justincc) 2014-09-16 18:17:05 +01:00
parent c4ed67aeee
commit 5991a98d80
1 changed files with 1 additions and 0 deletions

View File

@ -1451,6 +1451,7 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
Thread.CurrentThread.Priority = ThreadPriority.Highest;
Update(-1);
Watchdog.RemoveThread();
m_isRunning = false;