From d4d060b57d380c9a19536bde79013b7634dbdf83 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 6 Oct 2009 07:49:05 -0700 Subject: Commenting the DEBUG code that I added yesterday, because it's causing mono to fail with https://bugzilla.novell.com/show_bug.cgi?id=538854 --- OpenSim/Region/Framework/Scenes/Scene.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d0dc021..df9b163 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -962,12 +962,12 @@ namespace OpenSim.Region.Framework.Scenes int maintc = 0; while (!shuttingdown) { -#if DEBUG - int w = 0, io = 0; - ThreadPool.GetAvailableThreads(out w, out io); - if ((w < 10) || (io < 10)) - m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io); -#endif +//#if DEBUG +// int w = 0, io = 0; +// ThreadPool.GetAvailableThreads(out w, out io); +// if ((w < 10) || (io < 10)) +// m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io); +//#endif maintc = Environment.TickCount; TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate; -- cgit v1.1