minor: Assign names to the different SmartThreadPools for debugging purposes.
A different approach to the patch in http://opensimulator.org/mantis/view.php?id=6462 that doesn't involve further forking of SmartThreadPool0.7.5-pf-bulletsim
parent
416244051d
commit
bc9a7ba0d6
|
@ -1647,6 +1647,7 @@ namespace OpenSim.Framework
|
|||
throw new InvalidOperationException("SmartThreadPool is already initialized");
|
||||
|
||||
m_ThreadPool = new SmartThreadPool(2000, maxThreads, 2);
|
||||
m_ThreadPool.Name = "Util";
|
||||
}
|
||||
|
||||
public static int FireAndForgetCount()
|
||||
|
|
|
@ -1487,6 +1487,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
startInfo.StartSuspended = true;
|
||||
|
||||
m_ThreadPool = new SmartThreadPool(startInfo);
|
||||
m_ThreadPool.Name = "XEngine";
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue