diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2015-07-10 14:21:42 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-05-08 17:45:52 +0300 |
commit | 060ae78a910bada6aad4ecba0f6f1141c0841661 (patch) | |
tree | d7390145f7f398d0a0dfaa9bd8774c7cd1ab9d6f /src/murmur/MurmurGRPCImpl.h | |
parent | c53134dce1f58b0fed89e59323f35c5862e1e652 (diff) |
grpc: add a lock around the authenticator when it does a write-read
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.h')
-rw-r--r-- | src/murmur/MurmurGRPCImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h index 18e01e3d5..e1ca91b40 100644 --- a/src/murmur/MurmurGRPCImpl.h +++ b/src/murmur/MurmurGRPCImpl.h @@ -101,6 +101,7 @@ class MurmurRPCImpl : public QThread { QHash<int, QMultiHash<QString, ::MurmurRPC::Wrapper::ContextActionService_Events *> > qhContextActionListeners; QSet<::MurmurRPC::Wrapper::MetaService_Events *> qsMetaServiceListeners; QMultiHash<int, ::MurmurRPC::Wrapper::ServerService_Events *> qmhServerServiceListeners; + QMutex qmAuthenticatorsLock; QHash<int, ::MurmurRPC::Wrapper::AuthenticatorService_Stream *> qhAuthenticators; void removeAuthenticator(const ::Server *); |