diff options
-rw-r--r-- | OpenSim/Framework/Util.cs | 4 |
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. |