diff options
author | Melanie | 2013-01-23 02:38:59 +0000 |
---|---|---|
committer | Melanie | 2013-01-23 02:38:59 +0000 |
commit | cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad (patch) | |
tree | 0854a68c0329c37b9eedea56b3bf65458c59b696 /OpenSim/Framework | |
parent | Merge branch 'master' into careminster (diff) | |
parent | BulletSim: Tweeks to vehicle motion. (diff) | |
download | opensim-SC-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.zip opensim-SC-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.tar.gz opensim-SC-cc4cfd9fa81fa8e7c7254bd3c35e67ef9cb20dad.tar.bz2 opensim-SC-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')
-rw-r--r-- | OpenSim/Framework/Util.cs | 9 |
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() |