aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/ViewerSupport
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-11-04 00:55:48 +0000
committerJustin Clark-Casey (justincc)2014-11-25 23:23:10 +0000
commitec8d21c434a39f46518ee9cf9f5539d1790eacc0 (patch)
tree2aa340fb34c6f6e8e8f2e31c2034b5841307a7bf /OpenSim/Region/OptionalModules/ViewerSupport
parentAdd "show threadpool calls" command to show count of all labelled smartthread... (diff)
downloadopensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.zip
opensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.tar.gz
opensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.tar.bz2
opensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.tar.xz
Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
Diffstat (limited to 'OpenSim/Region/OptionalModules/ViewerSupport')
-rw-r--r--OpenSim/Region/OptionalModules/ViewerSupport/DynamicMenuModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/DynamicMenuModule.cs b/OpenSim/Region/OptionalModules/ViewerSupport/DynamicMenuModule.cs
index 6e0a80a..d37369c 100644
--- a/OpenSim/Region/OptionalModules/ViewerSupport/DynamicMenuModule.cs
+++ b/OpenSim/Region/OptionalModules/ViewerSupport/DynamicMenuModule.cs
@@ -294,7 +294,8 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
294 for (int i = 0 ; i < selection.Count ; i++) 294 for (int i = 0 ; i < selection.Count ; i++)
295 sel.Add(selection[i].AsUInteger()); 295 sel.Add(selection[i].AsUInteger());
296 296
297 Util.FireAndForget(x => { m_module.HandleMenuSelection(action, m_agentID, sel); }); 297 Util.FireAndForget(
298 x => { m_module.HandleMenuSelection(action, m_agentID, sel); }, null, "DynamicMenuModule.HandleMenuSelection");
298 299
299 Encoding encoding = Encoding.UTF8; 300 Encoding encoding = Encoding.UTF8;
300 return encoding.GetBytes(OSDParser.SerializeLLSDXmlString(new OSD())); 301 return encoding.GetBytes(OSDParser.SerializeLLSDXmlString(new OSD()));