diff options
author | Justin Clarke Casey | 2009-03-12 20:37:15 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-12 20:37:15 +0000 |
commit | f5ff2eff24e1d65bbfceb3eb7676f733a5240a7a (patch) | |
tree | 42a0bda178668c3cbc6eeda6798082429d13992a | |
parent | From: Christopher Yeoh <yeohc@au1.ibm.com> (diff) | |
download | opensim-SC_OLD-f5ff2eff24e1d65bbfceb3eb7676f733a5240a7a.zip opensim-SC_OLD-f5ff2eff24e1d65bbfceb3eb7676f733a5240a7a.tar.gz opensim-SC_OLD-f5ff2eff24e1d65bbfceb3eb7676f733a5240a7a.tar.bz2 opensim-SC_OLD-f5ff2eff24e1d65bbfceb3eb7676f733a5240a7a.tar.xz |
* minor: Lable the heartbeat thread with the region it's beating for
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 08a4a7c..9bec481 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -752,7 +752,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
752 | //m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat); | 752 | //m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat); |
753 | HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat)); | 753 | HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat)); |
754 | HeartbeatThread.SetApartmentState(ApartmentState.MTA); | 754 | HeartbeatThread.SetApartmentState(ApartmentState.MTA); |
755 | HeartbeatThread.Name = "Heartbeat"; | 755 | HeartbeatThread.Name = string.Format("Heartbeat for region {0}", RegionInfo.RegionName); |
756 | HeartbeatThread.Priority = ThreadPriority.AboveNormal; | 756 | HeartbeatThread.Priority = ThreadPriority.AboveNormal; |
757 | ThreadTracker.Add(HeartbeatThread); | 757 | ThreadTracker.Add(HeartbeatThread); |
758 | HeartbeatThread.Start(); | 758 | HeartbeatThread.Start(); |