diff options
Diffstat (limited to 'cpp/src/qpid/client/SubscriptionManager.h')
-rw-r--r-- | cpp/src/qpid/client/SubscriptionManager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SubscriptionManager.h b/cpp/src/qpid/client/SubscriptionManager.h index 58d880fa83..948126e271 100644 --- a/cpp/src/qpid/client/SubscriptionManager.h +++ b/cpp/src/qpid/client/SubscriptionManager.h @@ -210,6 +210,11 @@ class SubscriptionManager : public sys::Runnable * @see start */ void start(); + + /** + * Wait for the thread started by a call to start() to complete. + */ + void wait(); /** If set true, run() will stop when all subscriptions * are cancelled. If false, run will only stop when stop() |