mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* minor: Lable the heartbeat thread with the region it's beating for
This commit is contained in:
@@ -752,7 +752,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
//m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat);
|
||||
HeartbeatThread = new Thread(new ParameterizedThreadStart(Heartbeat));
|
||||
HeartbeatThread.SetApartmentState(ApartmentState.MTA);
|
||||
HeartbeatThread.Name = "Heartbeat";
|
||||
HeartbeatThread.Name = string.Format("Heartbeat for region {0}", RegionInfo.RegionName);
|
||||
HeartbeatThread.Priority = ThreadPriority.AboveNormal;
|
||||
ThreadTracker.Add(HeartbeatThread);
|
||||
HeartbeatThread.Start();
|
||||
|
||||
Reference in New Issue
Block a user