mirror of
https://github.com/overte-org/overte.git
synced 2025-06-28 16:49:47 +02:00
expose mutex in LimitedNodeList
This commit is contained in:
parent
41ef105456
commit
e6dfc5204d
1 changed files with 5 additions and 3 deletions
|
@ -174,7 +174,9 @@ public:
|
|||
void sendPeerQueryToIceServer(const HifiSockAddr& iceServerSockAddr, const QUuid& clientID, const QUuid& peerID);
|
||||
|
||||
SharedNodePointer findNodeWithAddr(const HifiSockAddr& addr);
|
||||
|
||||
|
||||
QReadWriteLock& getMutex() { return _nodeMutex; }
|
||||
|
||||
template<typename NodeLambda>
|
||||
void eachNode(NodeLambda functor) {
|
||||
QReadLocker readLock(&_nodeMutex);
|
||||
|
@ -280,7 +282,7 @@ signals:
|
|||
protected slots:
|
||||
void connectedForLocalSocketTest();
|
||||
void errorTestingLocalSocket();
|
||||
|
||||
|
||||
void clientConnectionToSockAddrReset(const HifiSockAddr& sockAddr);
|
||||
|
||||
protected:
|
||||
|
@ -347,7 +349,7 @@ protected:
|
|||
functor(it);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private slots:
|
||||
void flagTimeForConnectionStep(ConnectionStep connectionStep, quint64 timestamp);
|
||||
void possiblyTimeoutSTUNAddressLookup();
|
||||
|
|
Loading…
Reference in a new issue