diff options
Diffstat (limited to 'OpenSim/Framework/ThreadTracker.cs')
-rw-r--r-- | OpenSim/Framework/ThreadTracker.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Framework/ThreadTracker.cs b/OpenSim/Framework/ThreadTracker.cs index 8fe5b82..b87e180 100644 --- a/OpenSim/Framework/ThreadTracker.cs +++ b/OpenSim/Framework/ThreadTracker.cs | |||
@@ -34,9 +34,9 @@ namespace OpenSim.Framework | |||
34 | { | 34 | { |
35 | public static class ThreadTracker | 35 | public static class ThreadTracker |
36 | { | 36 | { |
37 | private static readonly long ThreadTimeout = 30 * 10000000; | ||
37 | public static List<ThreadTrackerItem> m_Threads; | 38 | public static List<ThreadTrackerItem> m_Threads; |
38 | public static Thread ThreadTrackerThread; | 39 | public static Thread ThreadTrackerThread; |
39 | private static readonly long ThreadTimeout = 30 * 10000000; | ||
40 | 40 | ||
41 | static ThreadTracker() | 41 | static ThreadTracker() |
42 | { | 42 | { |
@@ -123,10 +123,14 @@ namespace OpenSim.Framework | |||
123 | return threads; | 123 | return threads; |
124 | } | 124 | } |
125 | 125 | ||
126 | #region Nested type: ThreadTrackerItem | ||
127 | |||
126 | public class ThreadTrackerItem | 128 | public class ThreadTrackerItem |
127 | { | 129 | { |
128 | public Thread Thread; | ||
129 | public long LastSeenActive; | 130 | public long LastSeenActive; |
131 | public Thread Thread; | ||
130 | } | 132 | } |
133 | |||
134 | #endregion | ||
131 | } | 135 | } |
132 | } | 136 | } \ No newline at end of file |