diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/TaskInventoryDictionary.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryDictionary.cs b/OpenSim/Framework/TaskInventoryDictionary.cs index a8a53f2..940e567 100644 --- a/OpenSim/Framework/TaskInventoryDictionary.cs +++ b/OpenSim/Framework/TaskInventoryDictionary.cs | |||
@@ -151,6 +151,7 @@ namespace OpenSim.Framework | |||
151 | while (!m_itemLock.TryEnterWriteLock(60000)) | 151 | while (!m_itemLock.TryEnterWriteLock(60000)) |
152 | { | 152 | { |
153 | m_log.Error("Thread lock detected while trying to aquire WRITE lock in TaskInventoryDictionary. Locked by thread " + LockedByThread.Name + ". I'm going to try to solve the thread lock automatically to preserve region stability, but this needs to be fixed."); | 153 | m_log.Error("Thread lock detected while trying to aquire WRITE lock in TaskInventoryDictionary. Locked by thread " + LockedByThread.Name + ". I'm going to try to solve the thread lock automatically to preserve region stability, but this needs to be fixed."); |
154 | System.Console.WriteLine("My call stack:\n" + Environment.StackTrace); | ||
154 | if (m_itemLock.IsWriteLockHeld) | 155 | if (m_itemLock.IsWriteLockHeld) |
155 | { | 156 | { |
156 | m_itemLock = new System.Threading.ReaderWriterLockSlim(); | 157 | m_itemLock = new System.Threading.ReaderWriterLockSlim(); |