From 8b0b857eaaa50c6ec217a46c0577395c78ec04c7 Mon Sep 17 00:00:00 2001 From: sapier Date: Mon, 6 Jan 2014 12:45:42 +0100 Subject: Make MutexQueue use jsemaphore for signaling --- src/client.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 1ed80a2b0..1b7ad48e6 100644 --- a/src/client.h +++ b/src/client.h @@ -289,6 +289,14 @@ public: ); ~Client(); + + /* + request all threads managed by client to be stopped + */ + void Stop(); + + + bool isShutdown(); /* The name of the local player should already be set when calling this, as it is sent in the initialization. -- cgit v1.2.3