* minor: Lable the heartbeat thread with the region it's beating for

0.6.5-rc1
Justin Clarke Casey 2009-03-12 20:37:15 +00:00
parent fa619bdf8c
commit f5ff2eff24
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ namespace OpenSim.Region.Framework.Scenes
//m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat); //m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat);
HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat)); HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat));
HeartbeatThread.SetApartmentState(ApartmentState.MTA); HeartbeatThread.SetApartmentState(ApartmentState.MTA);
HeartbeatThread.Name = "Heartbeat"; HeartbeatThread.Name = string.Format("Heartbeat for region {0}", RegionInfo.RegionName);
HeartbeatThread.Priority = ThreadPriority.AboveNormal; HeartbeatThread.Priority = ThreadPriority.AboveNormal;
ThreadTracker.Add(HeartbeatThread); ThreadTracker.Add(HeartbeatThread);
HeartbeatThread.Start(); HeartbeatThread.Start();