aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ThreadTracker.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 14:04:55 +0000
committerAdam Frisby2008-04-29 14:04:55 +0000
commit375163a6fece8b3a57c7555246abe8338223a599 (patch)
tree163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/ThreadTracker.cs
parentPatch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff)
downloadopensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.zip
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.gz
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.xz
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to 'OpenSim/Framework/ThreadTracker.cs')
-rw-r--r--OpenSim/Framework/ThreadTracker.cs10
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