aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/curl/connectionmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/networking/curl/connectionmanager.h')
-rw-r--r--backends/networking/curl/connectionmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/networking/curl/connectionmanager.h b/backends/networking/curl/connectionmanager.h
index b39a779558..75cff0587b 100644
--- a/backends/networking/curl/connectionmanager.h
+++ b/backends/networking/curl/connectionmanager.h
@@ -27,6 +27,7 @@
#include "common/str.h"
#include "common/singleton.h"
#include "common/hashmap.h"
+#include "common/mutex.h"
typedef void CURL;
typedef void CURLM;
@@ -51,6 +52,7 @@ class ConnectionManager : public Common::Singleton<ConnectionManager> {
CURLM *_multi;
bool _timerStarted;
Common::Array<RequestWithCallback> _requests;
+ Common::Mutex _handleMutex;
void startTimer(int interval = 1000000); //1 second is the default interval
void stopTimer();