You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2011/10/05 23:45:36 UTC
svn commit: r1179455 -
/qpid/branches/qpid-2920-active/qpid/cpp/src/qpid/cluster/exp/MessageHolder.cpp
Author: aconway
Date: Wed Oct 5 21:45:36 2011
New Revision: 1179455
URL: http://svn.apache.org/viewvc?rev=1179455&view=rev
Log:
QPID-2920: Remove incorrect recursive lock.
Modified:
qpid/branches/qpid-2920-active/qpid/cpp/src/qpid/cluster/exp/MessageHolder.cpp
Modified: qpid/branches/qpid-2920-active/qpid/cpp/src/qpid/cluster/exp/MessageHolder.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/qpid-2920-active/qpid/cpp/src/qpid/cluster/exp/MessageHolder.cpp?rev=1179455&r1=1179454&r2=1179455&view=diff
==============================================================================
--- qpid/branches/qpid-2920-active/qpid/cpp/src/qpid/cluster/exp/MessageHolder.cpp (original)
+++ qpid/branches/qpid-2920-active/qpid/cpp/src/qpid/cluster/exp/MessageHolder.cpp Wed Oct 5 21:45:36 2011
@@ -48,7 +48,6 @@ bool MessageHolder::check(const framing:
}
MessageHolder::Channel MessageHolder::getChannel(const sys::Mutex::ScopedLock&) {
- sys::Mutex::ScopedLock l(lock);
Channel old = mark;
while (messages.find(++mark) != messages.end())
assert(mark != old); // check wrap-around
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org