Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2015-07-22 01:56:14 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-05-08 17:45:52 +0300
commit75142476a381c10896bcdea8d67fdd78b826f3ac (patch)
treea9f5a9eef5e4a02da2bb590997ae1c832a2e2fdb /src/murmur/MurmurGRPCImpl.h
parent23c931dbc3f09f1ed5c860723917dabd8a69b65e (diff)
grpc: change RPCCall.mRefs to atomic
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.h')
-rw-r--r--src/murmur/MurmurGRPCImpl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h
index f6898063b..9d9d8f3ef 100644
--- a/src/murmur/MurmurGRPCImpl.h
+++ b/src/murmur/MurmurGRPCImpl.h
@@ -37,6 +37,8 @@
#include "Server.h"
#include "Meta.h"
+#include <atomic>
+
#include <QMultiHash>
#include <grpc/grpc.h>
@@ -47,7 +49,7 @@
#include <grpc++/status.h>
class RPCCall {
- int mRefs;
+ ::std::atomic_int mRefs;
public:
RPCCall() {
ref();