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 SmartThreadPool
0.7.4-extended
Justin Clark-Casey (justincc) 2013-01-01 23:57:20 +00:00
parent c98d215242
commit 7caf21c8a8
2 changed files with 2 additions and 0 deletions

View File

@ -1640,6 +1640,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()

View File

@ -1487,6 +1487,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
startInfo.StartSuspended = true;
m_ThreadPool = new SmartThreadPool(startInfo);
m_ThreadPool.Name = "XEngine";
}
//