From 92914dcf983f5328a19648950ab8d2c42ca77925 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 6 Nov 2008 10:47:57 +0000 Subject: SubscriptionManager and Dispatcher were missing wait() methods meaning that if start was called there was no way to join with the dispatch thread and shutdown cleanly. Fixed by adding that method. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711838 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Dispatcher.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/client/Dispatcher.h') diff --git a/cpp/src/qpid/client/Dispatcher.h b/cpp/src/qpid/client/Dispatcher.h index 921c6449a3..e84f8f303d 100644 --- a/cpp/src/qpid/client/Dispatcher.h +++ b/cpp/src/qpid/client/Dispatcher.h @@ -63,6 +63,7 @@ public: Dispatcher(const Session& session, const std::string& queue = ""); void start(); + void wait(); void run(); void stop(); void setAutoStop(bool b); -- cgit v1.2.1