aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-05-09 17:44:12 +0000
committerAdam Frisby2009-05-09 17:44:12 +0000
commitc534d7f614ae5ba15dee80ccefcf8e4741f5297b (patch)
tree1a811cf0b0cca441ae221000331a19043bece007 /OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs
parentPrevent normal (Text) IM from being logged by the group message module in (diff)
downloadopensim-SC-c534d7f614ae5ba15dee80ccefcf8e4741f5297b.zip
opensim-SC-c534d7f614ae5ba15dee80ccefcf8e4741f5297b.tar.gz
opensim-SC-c534d7f614ae5ba15dee80ccefcf8e4741f5297b.tar.bz2
opensim-SC-c534d7f614ae5ba15dee80ccefcf8e4741f5297b.tar.xz
* Code to make MRM debugging easier.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs
index 8fd77ee..aaa2848 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MicroScheduler.cs
@@ -28,7 +28,9 @@
28using System; 28using System;
29using System.Collections; 29using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Reflection;
31using System.Text; 32using System.Text;
33using log4net;
32using OpenSim.Region.OptionalModules.Scripting.Minimodule.Interfaces; 34using OpenSim.Region.OptionalModules.Scripting.Minimodule.Interfaces;
33 35
34namespace OpenSim.Region.OptionalModules.Scripting.Minimodule 36namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
@@ -54,8 +56,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
54 while (m_threads.Count > 0 && i < count) 56 while (m_threads.Count > 0 && i < count)
55 { 57 {
56 i++; 58 i++;
59
57 bool running = m_threads[i%m_threads.Count].MoveNext(); 60 bool running = m_threads[i%m_threads.Count].MoveNext();
58 61
62
59 if (!running) 63 if (!running)
60 m_threads.Remove(m_threads[i%m_threads.Count]); 64 m_threads.Remove(m_threads[i%m_threads.Count]);
61 } 65 }