summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/BlockingQueue.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-10-17 16:13:13 +0000
committerAlan Conway <aconway@apache.org>2008-10-17 16:13:13 +0000
commita039e57108ed06586e73a255dc824ed27fc6de2a (patch)
tree22683a3561307ab6ccfa6ba1107a4e5e4c7a0b9e /cpp/src/qpid/sys/BlockingQueue.h
parent1a0e5ee95bbc32a78daeed9e6538921a9b86157d (diff)
downloadqpid-python-a039e57108ed06586e73a255dc824ed27fc6de2a.tar.gz
Suppress logging expected errors in tests.
Improved log messages for connection, session errors. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705661 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/BlockingQueue.h')
-rw-r--r--cpp/src/qpid/sys/BlockingQueue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/BlockingQueue.h b/cpp/src/qpid/sys/BlockingQueue.h
index c6c6291b97..d7e6449d7a 100644
--- a/cpp/src/qpid/sys/BlockingQueue.h
+++ b/cpp/src/qpid/sys/BlockingQueue.h
@@ -73,7 +73,9 @@ public:
return result;
}
- /** Push a value onto the queue */
+ /** Push a value onto the queue.
+ * Note it is not an error to push onto a closed queue.
+ */
void push(const T& t) {
Mutex::ScopedLock l(waitable);
queue.push(t);