summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-11-02 13:09:46 +0000
committerGordon Sim <gsim@apache.org>2007-11-02 13:09:46 +0000
commit1bbcf83f711871cc99b2f31f13fd6e43964324a0 (patch)
tree64e08facc908e431597eb226ebba0c6b2e49c792 /qpid/cpp/src
parentcc7da645e84bdac2e03d7af9e0f64975dd1a6d73 (diff)
downloadqpid-python-1bbcf83f711871cc99b2f31f13fd6e43964324a0.tar.gz
Sending of results must be synchronised w.r.t. other frames (e.g. message delivery).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@591320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/SemanticHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/SemanticHandler.cpp b/qpid/cpp/src/qpid/broker/SemanticHandler.cpp
index e1a8ae470d..3a20a2d41c 100644
--- a/qpid/cpp/src/qpid/broker/SemanticHandler.cpp
+++ b/qpid/cpp/src/qpid/broker/SemanticHandler.cpp
@@ -127,6 +127,7 @@ void SemanticHandler::handleCommand(framing::AMQMethodBody* method)
if (!invoker.wasHandled()) {
throw NotImplementedException("Not implemented");
} else if (invoker.hasResult()) {
+ Mutex::ScopedLock l(outLock);
session.getProxy().getExecution().result(id.getValue(), invoker.getResult());
}
if (method->isSync()) {