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
mb-throttle-test
Justin Clark-Casey (justincc) 2014-09-16 18:17:05 +01:00
parent d3ed5de77d
commit 5b6fb7245a
1 changed files with 1 additions and 0 deletions

View File

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