diff options
| author | Gordon Sim <gsim@apache.org> | 2007-11-02 13:09:46 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-11-02 13:09:46 +0000 |
| commit | e834668f813a7024be1677116e9213b315956ef2 (patch) | |
| tree | 2d68c0a8d5cfd4b30454b83ce2be104418ac9859 /cpp/src | |
| parent | 380aadb1095ee28bd8c7111135cfaf3b3432a680 (diff) | |
| download | qpid-python-e834668f813a7024be1677116e9213b315956ef2.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/qpid@591320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticHandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SemanticHandler.cpp b/cpp/src/qpid/broker/SemanticHandler.cpp index e1a8ae470d..3a20a2d41c 100644 --- a/cpp/src/qpid/broker/SemanticHandler.cpp +++ b/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()) { |
