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)

LSLKeyTest
UbitUmarov 2015-11-27 18:43:17 +00:00
parent cade717b5f
commit 5aa1c0d328
1 changed files with 3 additions and 1 deletions

View File

@ -2315,7 +2315,7 @@ namespace OpenSim.Framework
// It's possible that the thread won't abort. To make sure the thread pool isn't // It's possible that the thread won't abort. To make sure the thread pool isn't
// depleted, increase the pool size. // depleted, increase the pool size.
m_ThreadPool.MaxThreads++; // m_ThreadPool.MaxThreads++;
} }
} }
} }
@ -2430,6 +2430,7 @@ namespace OpenSim.Framework
long numQueued = Interlocked.Increment(ref numQueuedThreadFuncs); long numQueued = Interlocked.Increment(ref numQueuedThreadFuncs);
try try
{ {
/*
long numRunning = numRunningThreadFuncs; long numRunning = numRunningThreadFuncs;
if (m_ThreadPool != null && LogOverloads) if (m_ThreadPool != null && LogOverloads)
@ -2462,6 +2463,7 @@ namespace OpenSim.Framework
} }
} }
else else
*/
{ {
// Since we didn't log "Queue threadfunc", don't log "Run threadfunc" or "End threadfunc" either. // 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. // Those log lines aren't useful when we don't know which function is running in the thread.