diff options
author | Tedd Hansen | 2008-02-21 10:43:24 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-21 10:43:24 +0000 |
commit | 7102ac77698f4bfd7406d6e8871db7b006c2cae2 (patch) | |
tree | 7253775d1a6ae64e2469b1ef79863aaebe83e1d1 /OpenSim/Framework/Communications/Cache | |
parent | Remove a couple compiler warnings. (diff) | |
download | opensim-SC_OLD-7102ac77698f4bfd7406d6e8871db7b006c2cae2.zip opensim-SC_OLD-7102ac77698f4bfd7406d6e8871db7b006c2cae2.tar.gz opensim-SC_OLD-7102ac77698f4bfd7406d6e8871db7b006c2cae2.tar.bz2 opensim-SC_OLD-7102ac77698f4bfd7406d6e8871db7b006c2cae2.tar.xz |
"threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 8f8e362..15b52b0 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -171,6 +171,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
171 | m_assetCacheThread.Name = "AssetCacheThread"; | 171 | m_assetCacheThread.Name = "AssetCacheThread"; |
172 | m_assetCacheThread.IsBackground = true; | 172 | m_assetCacheThread.IsBackground = true; |
173 | m_assetCacheThread.Start(); | 173 | m_assetCacheThread.Start(); |
174 | OpenSim.Framework.ThreadTracker.Add(m_assetCacheThread); | ||
174 | } | 175 | } |
175 | 176 | ||
176 | /// <summary> | 177 | /// <summary> |
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index a3530bd..cae4231 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs | |||
@@ -101,6 +101,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
101 | m_localAssetServerThread.Name = "LocalAssetServerThread"; | 101 | m_localAssetServerThread.Name = "LocalAssetServerThread"; |
102 | m_localAssetServerThread.IsBackground = true; | 102 | m_localAssetServerThread.IsBackground = true; |
103 | m_localAssetServerThread.Start(); | 103 | m_localAssetServerThread.Start(); |
104 | OpenSim.Framework.ThreadTracker.Add(m_localAssetServerThread); | ||
104 | } | 105 | } |
105 | 106 | ||
106 | private void RunRequests() | 107 | private void RunRequests() |