summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/QueueRegistryTest.cpp
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2013-08-16 11:54:02 +0000
committerKeith Wall <kwall@apache.org>2013-08-16 11:54:02 +0000
commit88ca352ffee7df7e037bed1e73936e9b5d9b9ae2 (patch)
tree318ecbc0659f4d39c30993c078febc3dc7715166 /qpid/cpp/src/tests/QueueRegistryTest.cpp
parenta037dbf505ed39472c1ce436faf1bece22334be1 (diff)
downloadqpid-python-88ca352ffee7df7e037bed1e73936e9b5d9b9ae2.tar.gz
QPID-5050: Move invocation of ExceptionListener to after the failoverMutex is released avoiding deadlock possibility
Previously, the ExceptionListener was invoked whilst the failoverMutex was held, between the two potential state changes (connection state change and session state change). This commit reorders the statements so that the ExceptionListner is fired after the failoverMutex is released. It also means that the ExceptionListener is fired *after* both connection/session have undergone any state changes. The exceptionListener member is also made thread safe. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1514664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/QueueRegistryTest.cpp')
0 files changed, 0 insertions, 0 deletions