diff options
author | Tedd Hansen | 2008-02-19 12:02:53 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-19 12:02:53 +0000 |
commit | 47c909ca0af6e39a55b38db74df49c7629b552b9 (patch) | |
tree | aba1d85ff2f447b69d02de84950ecd39baef0438 /OpenSim/Tools | |
parent | *rawfile fix. (diff) | |
download | opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.zip opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.tar.gz opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.tar.bz2 opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.tar.xz |
Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 0c7fa4e..1dc1dc1 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -114,6 +114,8 @@ namespace pCampBot | |||
114 | if (cs.GetString("lastname", "random") == "random") pb.lastname = CreateRandomName(); | 114 | if (cs.GetString("lastname", "random") == "random") pb.lastname = CreateRandomName(); |
115 | 115 | ||
116 | m_td[pos] = new Thread(pb.startup); | 116 | m_td[pos] = new Thread(pb.startup); |
117 | m_td[pos].Name = "CampBot_" + pos; | ||
118 | m_td[pos].IsBackground = true; | ||
117 | m_td[pos].Start(); | 119 | m_td[pos].Start(); |
118 | m_lBot.Add(pb); | 120 | m_lBot.Add(pb); |
119 | } | 121 | } |