qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r889073 - /qpid/trunk/qpid/cpp/src/qpid/sys/DeletionManager.h
Date Thu, 10 Dec 2009 03:29:30 GMT
Author: astitcher
Date: Thu Dec 10 03:29:29 2009
New Revision: 889073

URL: http://svn.apache.org/viewvc?rev=889073&view=rev
Log:
QPID-2256: Removed an unnecessary lock that was causing deadlock due to lock inversion

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/DeletionManager.h

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/DeletionManager.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/DeletionManager.h?rev=889073&r1=889072&r2=889073&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/DeletionManager.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/DeletionManager.h Thu Dec 10 03:29:29 2009
@@ -77,11 +77,7 @@
 
     static void destroyThreadState() {
         ThreadStatus* threadStatus = getThreadStatus();
-        {
-        ScopedLock<Mutex> l(threadStatus->lock);
-
         allThreadsStatuses.delThreadStatus(threadStatus);
-        }
         delete threadStatus;
         threadStatus = 0;
     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message