diff options
| author | Gordon Sim <gsim@apache.org> | 2011-07-13 09:54:32 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-07-13 09:54:32 +0000 |
| commit | bc1f5a2413759fd8a05c73c3e12226b760790d5a (patch) | |
| tree | 710572168c02ae76b0eaf71892a6766badeb3923 /cpp/src/qpid/client/SessionImpl.cpp | |
| parent | 8760965d85424de9370e72a33c8f58b61e0cf94b (diff) | |
| download | qpid-python-bc1f5a2413759fd8a05c73c3e12226b760790d5a.tar.gz | |
QPID-3355: Declare the wait while waiting for completion. Patch from Jason Dillaman.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145936 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionImpl.cpp')
| -rw-r--r-- | cpp/src/qpid/client/SessionImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index b507625b11..7cf4ef648e 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -170,6 +170,7 @@ Demux& SessionImpl::getDemux() void SessionImpl::waitForCompletion(const SequenceNumber& id) { Lock l(state); + sys::Waitable::ScopedWait w(state); waitForCompletionImpl(id); } |
