diff options
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 177157bbb6..4d735c9abc 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -616,6 +616,11 @@ void SemanticState::ConsumerImpl::disableNotify() notifyEnabled = false; } +bool SemanticState::ConsumerImpl::isNotifyEnabld() { + Mutex::ScopedLock l(lock); + return notifyEnabled; +} + void SemanticState::ConsumerImpl::notify() { //TODO: alter this, don't want to hold locks across external |