summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/BrokerQueue.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-08-02 16:41:06 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-08-02 16:41:06 +0000
commit2290d4ed915f1202bcd6cd50b1a85f27f3eb6cd2 (patch)
tree087697531f0fa4d56705f72b041b17858f8e8100 /cpp/src/qpid/broker/BrokerQueue.h
parent9a6a98eac19196055e0efa24daa8742769256ec7 (diff)
downloadqpid-python-2290d4ed915f1202bcd6cd50b1a85f27f3eb6cd2.tar.gz
* Changed Broker queue processing to avoid unnecessary uses of boost::bind
* Changed Serializer::execute to take Tasks by reference to avoid overhead of copying git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@562179 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/BrokerQueue.h')
-rw-r--r--cpp/src/qpid/broker/BrokerQueue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/BrokerQueue.h b/cpp/src/qpid/broker/BrokerQueue.h
index f82a7dac55..4214b4b03f 100644
--- a/cpp/src/qpid/broker/BrokerQueue.h
+++ b/cpp/src/qpid/broker/BrokerQueue.h
@@ -75,7 +75,8 @@ namespace qpid {
std::auto_ptr<QueuePolicy> policy;
QueueBindings bindings;
boost::shared_ptr<Exchange> alternateExchange;
- qpid::sys::Serializer serializer;
+ qpid::sys::Serializer serializer;
+ qpid::sys::Serializer::Task dispatchCallback;
void pop();
void push(Message::shared_ptr& msg);