summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-09-27 00:08:18 +0000
committerAlan Conway <aconway@apache.org>2008-09-27 00:08:18 +0000
commit5d140890605743357347a0c0326ed4cf78117d8d (patch)
tree1eda6d5b7e99e52313d10248b89df7096e6bc498 /cpp/src/qpid/cluster/Cluster.cpp
parent47b7d230566810cd84446859b63885329186e943 (diff)
downloadqpid-python-5d140890605743357347a0c0326ed4cf78117d8d.tar.gz
Added missing locks in cluster code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 19f4318a9c..7feee4ce14 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -282,6 +282,7 @@ void Cluster::stall() {
}
void Cluster::ready() {
+ // Called with lock held
QPID_LOG(debug, self << " ready at " << url);
unstall();
mcastControl(ClusterReadyBody(ProtocolVersion(), url.str()), 0);