From 29586367f102a16970c68459b8ea5c779f7cb2d7 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 14 Jun 2010 14:50:36 +0000 Subject: Ensure that we can't shutdown in the middle of writing a buffer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954497 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/RdmaConnector.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/client') diff --git a/cpp/src/qpid/client/RdmaConnector.cpp b/cpp/src/qpid/client/RdmaConnector.cpp index 3b4e87ddbd..504c5bd191 100644 --- a/cpp/src/qpid/client/RdmaConnector.cpp +++ b/cpp/src/qpid/client/RdmaConnector.cpp @@ -320,6 +320,7 @@ void RdmaConnector::send(AMQFrame& frame) { // This is NOT only called in response to previously calling notifyPendingWrite void RdmaConnector::writebuff(Rdma::AsynchIO&) { // It's possible to be disconnected and be writable + Mutex::ScopedLock l(pollingLock); if (!polling) return; -- cgit v1.2.1