diff options
Diffstat (limited to 'cpp/src/qpid/sys/BlockingQueue.h')
-rw-r--r-- | cpp/src/qpid/sys/BlockingQueue.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/qpid/sys/BlockingQueue.h b/cpp/src/qpid/sys/BlockingQueue.h index 65196dbd9c..c53949ad6f 100644 --- a/cpp/src/qpid/sys/BlockingQueue.h +++ b/cpp/src/qpid/sys/BlockingQueue.h @@ -29,8 +29,6 @@ namespace qpid { namespace sys { -struct QueueClosed {}; - template <class T> class BlockingQueue { @@ -46,7 +44,7 @@ public: T pop() { Waitable::ScopedLock l(lock); - if (!queueWait()) throw QueueClosed(); + if (!queueWait()) throw ClosedException(); return popInternal(); } @@ -78,7 +76,7 @@ public: } /** - * Close the queue. Throws QueueClosed in threads waiting in pop(). + * Close the queue. Throws ClosedException in threads waiting in pop(). * Blocks till all waiting threads have been notified. */ void close() |