diff options
author | Jeff Ames | 2008-08-28 14:41:54 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-28 14:41:54 +0000 |
commit | 3bf88587277b83c0b6f058fabba7d46a3b5a6a00 (patch) | |
tree | ed4ad9dc27e649a6f52661665fb681984251f480 /OpenSim/Framework/Servers/BaseOpenSimServer.cs | |
parent | Thannk you, Ralphos, for a patch the corrects an improper cast in (diff) | |
download | opensim-SC_OLD-3bf88587277b83c0b6f058fabba7d46a3b5a6a00.zip opensim-SC_OLD-3bf88587277b83c0b6f058fabba7d46a3b5a6a00.tar.gz opensim-SC_OLD-3bf88587277b83c0b6f058fabba7d46a3b5a6a00.tar.bz2 opensim-SC_OLD-3bf88587277b83c0b6f058fabba7d46a3b5a6a00.tar.xz |
Update svn properties, formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index b26d397..794dbd8 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -107,20 +107,20 @@ namespace OpenSim.Framework.Servers | |||
107 | { | 107 | { |
108 | sb.Append(m_stats.Report()); | 108 | sb.Append(m_stats.Report()); |
109 | } | 109 | } |
110 | 110 | ||
111 | sb.Append(Environment.NewLine); | 111 | sb.Append(Environment.NewLine); |
112 | sb.Append(GetThreadsReport()); | 112 | sb.Append(GetThreadsReport()); |
113 | 113 | ||
114 | m_log.Debug(sb); | 114 | m_log.Debug(sb); |
115 | } | 115 | } |
116 | 116 | ||
117 | /// <summary> | 117 | /// <summary> |
118 | /// Get a report about the registered threads in this server. | 118 | /// Get a report about the registered threads in this server. |
119 | /// </summary> | 119 | /// </summary> |
120 | protected string GetThreadsReport() | 120 | protected string GetThreadsReport() |
121 | { | 121 | { |
122 | StringBuilder sb = new StringBuilder(); | 122 | StringBuilder sb = new StringBuilder(); |
123 | 123 | ||
124 | List<Thread> threads = ThreadTracker.GetThreads(); | 124 | List<Thread> threads = ThreadTracker.GetThreads(); |
125 | if (threads == null) | 125 | if (threads == null) |
126 | { | 126 | { |
@@ -132,13 +132,13 @@ namespace OpenSim.Framework.Servers | |||
132 | foreach (Thread t in threads) | 132 | foreach (Thread t in threads) |
133 | { | 133 | { |
134 | sb.Append( | 134 | sb.Append( |
135 | "ID: " + t.ManagedThreadId + ", Name: " + t.Name + ", Alive: " + t.IsAlive | 135 | "ID: " + t.ManagedThreadId + ", Name: " + t.Name + ", Alive: " + t.IsAlive |
136 | + ", Pri: " + t.Priority + ", State: " + t.ThreadState + Environment.NewLine); | 136 | + ", Pri: " + t.Priority + ", State: " + t.ThreadState + Environment.NewLine); |
137 | } | 137 | } |
138 | } | 138 | } |
139 | 139 | ||
140 | return sb.ToString(); | 140 | return sb.ToString(); |
141 | } | 141 | } |
142 | 142 | ||
143 | /// <summary> | 143 | /// <summary> |
144 | /// Return a report about the uptime of this server | 144 | /// Return a report about the uptime of this server |
@@ -312,7 +312,7 @@ namespace OpenSim.Framework.Servers | |||
312 | 312 | ||
313 | return; | 313 | return; |
314 | } | 314 | } |
315 | } | 315 | } |
316 | 316 | ||
317 | /// <summary> | 317 | /// <summary> |
318 | /// Outputs to the console information about the region | 318 | /// Outputs to the console information about the region |