aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs3
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: