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 appliedghosts
parent
c4ed67aeee
commit
5991a98d80
|
@ -1451,6 +1451,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Thread.CurrentThread.Priority = ThreadPriority.Highest;
|
||||||
Update(-1);
|
Update(-1);
|
||||||
Watchdog.RemoveThread();
|
Watchdog.RemoveThread();
|
||||||
m_isRunning = false;
|
m_isRunning = false;
|
||||||
|
|
Loading…
Reference in New Issue