From 6b179639ac573be8f5c7d84bfd480c71a6815265 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 29 Nov 2007 11:54:17 +0000 Subject: Changes to threading: queues serialiser removed, io threads used to drive dispatch to consumers Fix to PersistableMessage: use correct lock when accessing synclist, don't hold enqueue lock when notifying queues git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@599395 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Connector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/client') diff --git a/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp index 497288bc3f..f32d0470ec 100644 --- a/cpp/src/qpid/client/Connector.cpp +++ b/cpp/src/qpid/client/Connector.cpp @@ -106,7 +106,7 @@ OutputHandler* Connector::getOutputHandler(){ void Connector::send(AMQFrame& frame){ Mutex::ScopedLock l(writeLock); writeFrameQueue.push(frame); - aio->queueWrite(); + aio->notifyPendingWrite(); QPID_LOG(trace, "SENT [" << this << "]: " << frame); } -- cgit v1.2.1