aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorUbitUmarov2015-11-27 18:43:17 +0000
committerUbitUmarov2015-11-27 18:43:17 +0000
commit5aa1c0d32825082f7da79a549ab01034d7523d23 (patch)
tree8d25cb64d414f7e39307f8f426da63493d4f6ac7 /OpenSim/Framework
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-5aa1c0d32825082f7da79a549ab01034d7523d23.zip
opensim-SC-5aa1c0d32825082f7da79a549ab01034d7523d23.tar.gz
opensim-SC-5aa1c0d32825082f7da79a549ab01034d7523d23.tar.bz2
opensim-SC-5aa1c0d32825082f7da79a549ab01034d7523d23.tar.xz
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)
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Util.cs4
1 files changed, 3 insertions, 1 deletions
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
2315 2315
2316 // It's possible that the thread won't abort. To make sure the thread pool isn't 2316 // It's possible that the thread won't abort. To make sure the thread pool isn't
2317 // depleted, increase the pool size. 2317 // depleted, increase the pool size.
2318 m_ThreadPool.MaxThreads++; 2318// m_ThreadPool.MaxThreads++;
2319 } 2319 }
2320 } 2320 }
2321 } 2321 }
@@ -2430,6 +2430,7 @@ namespace OpenSim.Framework
2430 long numQueued = Interlocked.Increment(ref numQueuedThreadFuncs); 2430 long numQueued = Interlocked.Increment(ref numQueuedThreadFuncs);
2431 try 2431 try
2432 { 2432 {
2433/*
2433 long numRunning = numRunningThreadFuncs; 2434 long numRunning = numRunningThreadFuncs;
2434 2435
2435 if (m_ThreadPool != null && LogOverloads) 2436 if (m_ThreadPool != null && LogOverloads)
@@ -2462,6 +2463,7 @@ namespace OpenSim.Framework
2462 } 2463 }
2463 } 2464 }
2464 else 2465 else
2466*/
2465 { 2467 {
2466 // Since we didn't log "Queue threadfunc", don't log "Run threadfunc" or "End threadfunc" either. 2468 // Since we didn't log "Queue threadfunc", don't log "Run threadfunc" or "End threadfunc" either.
2467 // Those log lines aren't useful when we don't know which function is running in the thread. 2469 // Those log lines aren't useful when we don't know which function is running in the thread.