Commenting the DEBUG code that I added yesterday, because it's causing mono to fail with
https://bugzilla.novell.com/show_bug.cgi?id=538854prioritization
parent
8a7a947faa
commit
d4d060b57d
|
@ -962,12 +962,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
int maintc = 0;
|
int maintc = 0;
|
||||||
while (!shuttingdown)
|
while (!shuttingdown)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
//#if DEBUG
|
||||||
int w = 0, io = 0;
|
// int w = 0, io = 0;
|
||||||
ThreadPool.GetAvailableThreads(out w, out io);
|
// ThreadPool.GetAvailableThreads(out w, out io);
|
||||||
if ((w < 10) || (io < 10))
|
// if ((w < 10) || (io < 10))
|
||||||
m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io);
|
// m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io);
|
||||||
#endif
|
//#endif
|
||||||
maintc = Environment.TickCount;
|
maintc = Environment.TickCount;
|
||||||
|
|
||||||
TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate;
|
TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate;
|
||||||
|
|
Loading…
Reference in New Issue