From 5aa1c0d32825082f7da79a549ab01034d7523d23 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 27 Nov 2015 18:43:17 +0000 Subject: coment out warnings that do a messed around number of threadpool workitens and number of active threads ( at least when a pool is in use) --- OpenSim/Framework/Util.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Util.cs') diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 4aad578..3e51f7f 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs @@ -2315,7 +2315,7 @@ namespace OpenSim.Framework // It's possible that the thread won't abort. To make sure the thread pool isn't // depleted, increase the pool size. - m_ThreadPool.MaxThreads++; +// m_ThreadPool.MaxThreads++; } } } @@ -2430,6 +2430,7 @@ namespace OpenSim.Framework long numQueued = Interlocked.Increment(ref numQueuedThreadFuncs); try { +/* long numRunning = numRunningThreadFuncs; if (m_ThreadPool != null && LogOverloads) @@ -2462,6 +2463,7 @@ namespace OpenSim.Framework } } else +*/ { // Since we didn't log "Queue threadfunc", don't log "Run threadfunc" or "End threadfunc" either. // Those log lines aren't useful when we don't know which function is running in the thread. -- cgit v1.1