aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2009-10-06 07:49:05 -0700
committerDiva Canto2009-10-06 07:49:05 -0700
commitd4d060b57d380c9a19536bde79013b7634dbdf83 (patch)
tree7944146a8cc4a04de6f77422e2aa9a295c2b3a1c /OpenSim/Region
parentRemove the using() constructs from the new style database modules; they caused (diff)
downloadopensim-SC_OLD-d4d060b57d380c9a19536bde79013b7634dbdf83.zip
opensim-SC_OLD-d4d060b57d380c9a19536bde79013b7634dbdf83.tar.gz
opensim-SC_OLD-d4d060b57d380c9a19536bde79013b7634dbdf83.tar.bz2
opensim-SC_OLD-d4d060b57d380c9a19536bde79013b7634dbdf83.tar.xz
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
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs12
1 files changed, 6 insertions, 6 deletions
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
962 int maintc = 0; 962 int maintc = 0;
963 while (!shuttingdown) 963 while (!shuttingdown)
964 { 964 {
965#if DEBUG 965//#if DEBUG
966 int w = 0, io = 0; 966// int w = 0, io = 0;
967 ThreadPool.GetAvailableThreads(out w, out io); 967// ThreadPool.GetAvailableThreads(out w, out io);
968 if ((w < 10) || (io < 10)) 968// if ((w < 10) || (io < 10))
969 m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io); 969// m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io);
970#endif 970//#endif
971 maintc = Environment.TickCount; 971 maintc = Environment.TickCount;
972 972
973 TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate; 973 TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate;