diff options
author | Diva Canto | 2009-10-07 19:20:34 -0700 |
---|---|---|
committer | Diva Canto | 2009-10-07 19:20:34 -0700 |
commit | 29f03d95f3648dff881a2d91444a71c770390ec9 (patch) | |
tree | e60a52d0c61e6c67f8b7efff1f3e827ea8e1238e /OpenSim/Framework | |
parent | Changed the locking mechanism, because the existing one is causing deadlocks ... (diff) | |
download | opensim-SC-29f03d95f3648dff881a2d91444a71c770390ec9.zip opensim-SC-29f03d95f3648dff881a2d91444a71c770390ec9.tar.gz opensim-SC-29f03d95f3648dff881a2d91444a71c770390ec9.tar.bz2 opensim-SC-29f03d95f3648dff881a2d91444a71c770390ec9.tar.xz |
Bug fix.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 4179dd3..845a9fe 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -246,8 +246,12 @@ namespace OpenSim.Framework.Servers | |||
246 | foreach (ProcessThread t in threads) | 246 | foreach (ProcessThread t in threads) |
247 | { | 247 | { |
248 | sb.Append("ID: " + t.Id + ", TotalProcessorTime: " + t.TotalProcessorTime + ", TimeRunning: " + | 248 | sb.Append("ID: " + t.Id + ", TotalProcessorTime: " + t.TotalProcessorTime + ", TimeRunning: " + |
249 | (DateTime.Now - t.StartTime) + ", Pri: " + t.CurrentPriority + ", State: " + t.ThreadState + | 249 | (DateTime.Now - t.StartTime) + ", Pri: " + t.CurrentPriority + ", State: " + t.ThreadState ); |
250 | ", WaitReason: " + t.WaitReason + Environment.NewLine); | 250 | if (t.ThreadState == System.Diagnostics.ThreadState.Wait) |
251 | sb.Append(", Reason: " + t.WaitReason + Environment.NewLine); | ||
252 | else | ||
253 | sb.Append(Environment.NewLine); | ||
254 | |||
251 | } | 255 | } |
252 | } | 256 | } |
253 | int workers = 0, ports = 0, maxWorkers = 0, maxPorts = 0; | 257 | int workers = 0, ports = 0, maxWorkers = 0, maxPorts = 0; |