mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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
This commit is contained in:
@@ -1452,6 +1452,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
else
|
||||
{
|
||||
Thread.CurrentThread.Priority = ThreadPriority.Highest;
|
||||
Update(-1);
|
||||
Watchdog.RemoveThread();
|
||||
m_isRunning = false;
|
||||
|
||||
Reference in New Issue
Block a user