summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/PollableQueue.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-08-29 18:18:45 +0000
committerAlan Conway <aconway@apache.org>2008-08-29 18:18:45 +0000
commit9749e6774159c43750f04907574d371235e36c0a (patch)
treea04aa3d5171ad59a82e82cec4a18e691dce56378 /cpp/src/qpid/cluster/PollableQueue.h
parent7a7273f69fdd328de06db16347914a20ae758b2b (diff)
downloadqpid-python-9749e6774159c43750f04907574d371235e36c0a.tar.gz
Refactored cluster to intercept at ConnectionCode, using sys:: interfaces rather than boost functions.
Use framing::Operations and Invoker to dispatch cluster methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/PollableQueue.h')
-rw-r--r--cpp/src/qpid/cluster/PollableQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/PollableQueue.h b/cpp/src/qpid/cluster/PollableQueue.h
index 0bba2ba790..29891da344 100644
--- a/cpp/src/qpid/cluster/PollableQueue.h
+++ b/cpp/src/qpid/cluster/PollableQueue.h
@@ -90,7 +90,7 @@ template <class T> void PollableQueue<T>::dispatch(sys::DispatchHandle& h) {
batch.swap(queue);
condition.clear();
ScopedUnlock u(lock);
- callback(batch.begin(), batch.end()); // Process the batch outside the lock.
+ callback(batch.begin(), batch.end()); // Process outside the lock to allow concurrent push.
h.rewatch();
}