aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs
diff options
context:
space:
mode:
authorBlueWall2014-09-17 17:56:10 -0400
committerBlueWall2014-09-17 17:56:10 -0400
commitaf286d5fcb688e8b64202b6deca4f249e9a2b6b8 (patch)
tree438067d64a71dcf663c2090f3f0b837fb8661e19 /OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs
parentWhen osNpcMoveToTarget() is called for a sitting avatar then silently do noth... (diff)
downloadopensim-SC-af286d5fcb688e8b64202b6deca4f249e9a2b6b8.zip
opensim-SC-af286d5fcb688e8b64202b6deca4f249e9a2b6b8.tar.gz
opensim-SC-af286d5fcb688e8b64202b6deca4f249e9a2b6b8.tar.bz2
opensim-SC-af286d5fcb688e8b64202b6deca4f249e9a2b6b8.tar.xz
Small changes to threading to send thread names to unmanaged threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs b/OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs
index 77cfb7e..bdea278 100644
--- a/OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs
+++ b/OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs
@@ -70,9 +70,9 @@ namespace OpenSim.Framework.Servers.HttpServer
70 _id = id; 70 _id = id;
71 71
72 _engine = new Thread(new ThreadStart(Engine)); 72 _engine = new Thread(new ThreadStart(Engine));
73 _engine.Name = EngineID;
74 _engine.IsBackground = true; 73 _engine.IsBackground = true;
75 _engine.Start(); 74 _engine.Start();
75 _engine.Name = string.Format ("Engine:{0}",EngineID);
76 76
77 ThreadTracker.Add(_engine); 77 ThreadTracker.Add(_engine);
78 } 78 }
@@ -91,9 +91,9 @@ namespace OpenSim.Framework.Servers.HttpServer
91 public void Start() 91 public void Start()
92 { 92 {
93 _engine = new Thread(new ThreadStart(Engine)); 93 _engine = new Thread(new ThreadStart(Engine));
94 _engine.Name = EngineID;
95 _engine.IsBackground = true; 94 _engine.IsBackground = true;
96 _engine.Start(); 95 _engine.Start();
96 _engine.Name = string.Format ("Engine:{0}",EngineID);
97 97
98 ThreadTracker.Add(_engine); 98 ThreadTracker.Add(_engine);
99 } 99 }