Make tracked per scene thread names conform to the majorirty format.
This is <thread-name> (<region-name>)0.7.2-post-fixes
parent
1bc0d0fac6
commit
1e69845869
|
@ -65,7 +65,6 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
|
|
||||||
private OpenSim.Framework.BlockingQueue<MapRequestState> requests = new OpenSim.Framework.BlockingQueue<MapRequestState>();
|
private OpenSim.Framework.BlockingQueue<MapRequestState> requests = new OpenSim.Framework.BlockingQueue<MapRequestState>();
|
||||||
|
|
||||||
//private IConfig m_config;
|
|
||||||
protected Scene m_scene;
|
protected Scene m_scene;
|
||||||
private List<MapBlockData> cachedMapBlocks = new List<MapBlockData>();
|
private List<MapBlockData> cachedMapBlocks = new List<MapBlockData>();
|
||||||
private int cachedTime = 0;
|
private int cachedTime = 0;
|
||||||
|
@ -348,7 +347,11 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
|
|
||||||
// m_log.Debug("[WORLD MAP]: Starting remote MapItem request thread");
|
// m_log.Debug("[WORLD MAP]: Starting remote MapItem request thread");
|
||||||
|
|
||||||
Watchdog.StartThread(process, "MapItemRequestThread", ThreadPriority.BelowNormal, true);
|
Watchdog.StartThread(
|
||||||
|
process,
|
||||||
|
string.Format("MapItemRequestThread ({0})", m_scene.RegionInfo.RegionName),
|
||||||
|
ThreadPriority.BelowNormal,
|
||||||
|
true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -357,7 +360,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
private void StopThread()
|
private void StopThread()
|
||||||
{
|
{
|
||||||
MapRequestState st = new MapRequestState();
|
MapRequestState st = new MapRequestState();
|
||||||
st.agentID=STOP_UUID;
|
st.agentID = STOP_UUID;
|
||||||
st.EstateID=0;
|
st.EstateID=0;
|
||||||
st.flags=0;
|
st.flags=0;
|
||||||
st.godlike=false;
|
st.godlike=false;
|
||||||
|
|
|
@ -1124,7 +1124,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
m_lastUpdate = Util.EnvironmentTickCount();
|
m_lastUpdate = Util.EnvironmentTickCount();
|
||||||
|
|
||||||
HeartbeatThread = Watchdog.StartThread(Heartbeat, "Heartbeat for region " + RegionInfo.RegionName, ThreadPriority.Normal, false);
|
HeartbeatThread
|
||||||
|
= Watchdog.StartThread(
|
||||||
|
Heartbeat, string.Format("Heartbeat ({0})", RegionInfo.RegionName), ThreadPriority.Normal, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue