aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
authorMelanie2013-01-23 02:38:59 +0000
committerMelanie2013-01-23 02:38:59 +0000
commitcc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad (patch)
tree0854a68c0329c37b9eedea56b3bf65458c59b696 /OpenSim/Framework/Util.cs
parentMerge branch 'master' into careminster (diff)
parentBulletSim: Tweeks to vehicle motion. (diff)
downloadopensim-SC_OLD-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.zip
opensim-SC_OLD-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.tar.gz
opensim-SC_OLD-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.tar.bz2
opensim-SC_OLD-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/Physics/BulletSNPlugin/BSShapeCollection.cs
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-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()