aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Util.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index ba3a751..e0d4d74 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -1670,8 +1670,13 @@ namespace OpenSim.Framework
1670 if (m_ThreadPool != null) 1670 if (m_ThreadPool != null)
1671 throw new InvalidOperationException("SmartThreadPool is already initialized"); 1671 throw new InvalidOperationException("SmartThreadPool is already initialized");
1672 1672
1673 m_ThreadPool = new SmartThreadPool(2000, maxThreads, 2); 1673 STPStartInfo startInfo = new STPStartInfo();
1674 m_ThreadPool.Name = "Util"; 1674 startInfo.ThreadPoolName = "Util";
1675 startInfo.IdleTimeout = 2000;
1676 startInfo.MaxWorkerThreads = maxThreads;
1677 startInfo.MinWorkerThreads = 2;
1678
1679 m_ThreadPool = new SmartThreadPool(startInfo);
1675 } 1680 }
1676 1681
1677 public static int FireAndForgetCount() 1682 public static int FireAndForgetCount()