diff options
author | Alexander Tkachev | 2016-06-18 14:15:25 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 6ac69729d5c93899a3b1f5d82b6c5b008f030a7c (patch) | |
tree | c36c43a8d956f4e95b2c684342f4b488946c7f7e /backends/networking/sdl_net/localwebserver.h | |
parent | 5e70f64e108a3b155fc14f5087a7747e5c89f581 (diff) | |
download | scummvm-rg350-6ac69729d5c93899a3b1f5d82b6c5b008f030a7c.tar.gz scummvm-rg350-6ac69729d5c93899a3b1f5d82b6c5b008f030a7c.tar.bz2 scummvm-rg350-6ac69729d5c93899a3b1f5d82b6c5b008f030a7c.zip |
CLOUD: Add some mutexes in LocalWebserver
Diffstat (limited to 'backends/networking/sdl_net/localwebserver.h')
-rw-r--r-- | backends/networking/sdl_net/localwebserver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/localwebserver.h b/backends/networking/sdl_net/localwebserver.h index f51c33b418..2bd8daff5d 100644 --- a/backends/networking/sdl_net/localwebserver.h +++ b/backends/networking/sdl_net/localwebserver.h @@ -27,6 +27,7 @@ #include "backends/networking/sdl_net/indexpagehandler.h" #include "common/callback.h" #include "common/hash-str.h" +#include "common/mutex.h" #include "common/singleton.h" #include "common/scummsys.h" @@ -57,6 +58,7 @@ class LocalWebserver : public Common::Singleton<LocalWebserver> { Common::HashMap<Common::String, ClientHandler> _pathHandlers; IndexPageHandler _indexPageHandler; uint32 _idlingFrames; + Common::Mutex _handleMutex; void startTimer(int interval = TIMER_INTERVAL); void stopTimer(); |