Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug.

This commit is contained in:
Tedd Hansen
2008-02-19 12:02:53 +00:00
parent 62f608b152
commit 47c909ca0a
9 changed files with 28 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenSim.Grid.ScriptServer
// Start listener
Stop();
listenThread = new Thread(ListenThreadLoop);
listenThread.Name = "listenThread";
listenThread.Name = "ListenThread";
listenThread.IsBackground = true;
listenThread.Start();
}