mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Make BulletSim thread be ThreadPriority.Highest if running
Will only effect Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 applied For test purposes
This commit is contained in:
@@ -838,6 +838,8 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||
|
||||
public void BulletSPluginPhysicsThread()
|
||||
{
|
||||
Thread.CurrentThread.Priority = ThreadPriority.Highest;
|
||||
|
||||
while (m_initialized)
|
||||
{
|
||||
int beginSimulationRealtimeMS = Util.EnvironmentTickCount();
|
||||
|
||||
Reference in New Issue
Block a user