Testing out a hack to identify the source of the high cpu usage

prioritization
John Hurliman 2009-10-21 14:25:22 -07:00
parent bb4da417ad
commit 62f1bfd136
1 changed files with 3 additions and 0 deletions

View File

@ -552,6 +552,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
catch (Exception e) { m_log.Error("[LLUDPCLIENT]: OnQueueEmpty(" + type + ") threw an exception: " + e.Message, e); }
}
// HACK: Try spending some extra time here to slow down OnQueueEmpty calls
System.Threading.Thread.Sleep(100);
m_onQueueEmptyRunning[i] = false;
}
}