aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
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/ClientStack/Linden/UDP/LLUDPServer.cs
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/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index aa10301..61e1d6a 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -991,7 +991,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
991 // Fire this out on a different thread so that we don't hold up outgoing packet processing for 991 // Fire this out on a different thread so that we don't hold up outgoing packet processing for
992 // everybody else if this is being called due to an ack timeout. 992 // everybody else if this is being called due to an ack timeout.
993 // This is the same as processing as the async process of a logout request. 993 // This is the same as processing as the async process of a logout request.
994 Util.FireAndForget(o => DeactivateClientDueToTimeout(client, timeoutTicks)); 994 Util.FireAndForget(
995 o => DeactivateClientDueToTimeout(client, timeoutTicks), null, "LLUDPServer.DeactivateClientDueToTimeout");
995 996
996 return; 997 return;
997 } 998 }
@@ -1225,7 +1226,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1225 // buffer. 1226 // buffer.
1226 object[] array = new object[] { new IPEndPoint(endPoint.Address, endPoint.Port), packet }; 1227 object[] array = new object[] { new IPEndPoint(endPoint.Address, endPoint.Port), packet };
1227 1228
1228 Util.FireAndForget(HandleUseCircuitCode, array); 1229 Util.FireAndForget(HandleUseCircuitCode, array, "LLUDPServer.HandleUseCircuitCode");
1229 1230
1230 return; 1231 return;
1231 } 1232 }
@@ -1238,7 +1239,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1238 // buffer. 1239 // buffer.
1239 object[] array = new object[] { new IPEndPoint(endPoint.Address, endPoint.Port), packet }; 1240 object[] array = new object[] { new IPEndPoint(endPoint.Address, endPoint.Port), packet };
1240 1241
1241 Util.FireAndForget(HandleCompleteMovementIntoRegion, array); 1242 Util.FireAndForget(
1243 HandleCompleteMovementIntoRegion, array, "LLUDPServer.HandleCompleteMovementIntoRegion");
1242 1244
1243 return; 1245 return;
1244 } 1246 }