do init new acd circuit code + cosmetics

This commit is contained in:
UbitUmarov
2021-01-17 15:07:35 +00:00
parent 2f79009d32
commit 545e196226
3 changed files with 34 additions and 39 deletions

View File

@@ -3114,7 +3114,6 @@ namespace OpenSim.Framework
finally
{
Interlocked.Decrement(ref numRunningThreadFuncs);
threadInfo.Ended();
activeThreads.TryRemove(threadFuncNum, out ThreadInfo dummy);
if (loggingEnabled && threadInfo.LogThread)
m_log.DebugFormat("Exit threadfunc {0} ({1})", threadFuncNum, FormatDuration(threadInfo.Elapsed()));
@@ -3125,7 +3124,7 @@ namespace OpenSim.Framework
};
}
long numQueued = Interlocked.Increment(ref numQueuedThreadFuncs);
Interlocked.Increment(ref numQueuedThreadFuncs);
try
{
threadInfo.LogThread = false;