diff options
author | Melanie | 2013-01-02 11:52:37 +0000 |
---|---|---|
committer | Melanie | 2013-01-02 11:52:37 +0000 |
commit | 7943c8d11cbcac3ab16fb347d0c4116adc6437a5 (patch) | |
tree | a8f099569905001bdedf144a77fd7b9191aa6427 /OpenSim/Framework | |
parent | Merge branch 'master' into careminster (diff) | |
parent | BulletSim: add parameter to have Bullet output performance statistics (diff) | |
download | opensim-SC-7943c8d11cbcac3ab16fb347d0c4116adc6437a5.zip opensim-SC-7943c8d11cbcac3ab16fb347d0c4116adc6437a5.tar.gz opensim-SC-7943c8d11cbcac3ab16fb347d0c4116adc6437a5.tar.bz2 opensim-SC-7943c8d11cbcac3ab16fb347d0c4116adc6437a5.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Util.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 4d132bb..e76ac24 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -1659,6 +1659,7 @@ namespace OpenSim.Framework | |||
1659 | throw new InvalidOperationException("SmartThreadPool is already initialized"); | 1659 | throw new InvalidOperationException("SmartThreadPool is already initialized"); |
1660 | 1660 | ||
1661 | m_ThreadPool = new SmartThreadPool(2000, maxThreads, 2); | 1661 | m_ThreadPool = new SmartThreadPool(2000, maxThreads, 2); |
1662 | m_ThreadPool.Name = "Util"; | ||
1662 | } | 1663 | } |
1663 | 1664 | ||
1664 | public static int FireAndForgetCount() | 1665 | public static int FireAndForgetCount() |
@@ -1731,7 +1732,7 @@ namespace OpenSim.Framework | |||
1731 | break; | 1732 | break; |
1732 | case FireAndForgetMethod.SmartThreadPool: | 1733 | case FireAndForgetMethod.SmartThreadPool: |
1733 | if (m_ThreadPool == null) | 1734 | if (m_ThreadPool == null) |
1734 | m_ThreadPool = new SmartThreadPool(2000, 15, 2); | 1735 | InitThreadPool(15); |
1735 | m_ThreadPool.QueueWorkItem(SmartThreadPoolCallback, new object[] { realCallback, obj }); | 1736 | m_ThreadPool.QueueWorkItem(SmartThreadPoolCallback, new object[] { realCallback, obj }); |
1736 | break; | 1737 | break; |
1737 | case FireAndForgetMethod.Thread: | 1738 | case FireAndForgetMethod.Thread: |