Rename Watchdog.GetThreads() to GetThreadsInfo() to reflect what it actually returns and for consistency.
parent
84735b644c
commit
9e6ffe7798
|
@ -247,7 +247,7 @@ namespace OpenSim.Framework.Servers
|
|||
string reportFormat = "{0,6} {1,35} {2,16} {3,13} {4,10} {5,30}";
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
Watchdog.ThreadWatchdogInfo[] threads = Watchdog.GetThreads();
|
||||
Watchdog.ThreadWatchdogInfo[] threads = Watchdog.GetThreadsInfo();
|
||||
|
||||
sb.Append(threads.Length + " threads are being tracked:" + Environment.NewLine);
|
||||
|
||||
|
|
|
@ -230,7 +230,7 @@ namespace OpenSim.Framework
|
|||
/// Get currently watched threads for diagnostic purposes
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static ThreadWatchdogInfo[] GetThreads()
|
||||
public static ThreadWatchdogInfo[] GetThreadsInfo()
|
||||
{
|
||||
lock (m_threads)
|
||||
return m_threads.Values.ToArray();
|
||||
|
|
Loading…
Reference in New Issue