mirror of
https://github.com/overte-org/overte.git
synced 2025-06-28 21:09:52 +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);
|
void sendPeerQueryToIceServer(const HifiSockAddr& iceServerSockAddr, const QUuid& clientID, const QUuid& peerID);
|
||||||
|
|
||||||
SharedNodePointer findNodeWithAddr(const HifiSockAddr& addr);
|
SharedNodePointer findNodeWithAddr(const HifiSockAddr& addr);
|
||||||
|
|
||||||
|
QReadWriteLock& getMutex() { return _nodeMutex; }
|
||||||
|
|
||||||
template<typename NodeLambda>
|
template<typename NodeLambda>
|
||||||
void eachNode(NodeLambda functor) {
|
void eachNode(NodeLambda functor) {
|
||||||
QReadLocker readLock(&_nodeMutex);
|
QReadLocker readLock(&_nodeMutex);
|
||||||
|
@ -280,7 +282,7 @@ signals:
|
||||||
protected slots:
|
protected slots:
|
||||||
void connectedForLocalSocketTest();
|
void connectedForLocalSocketTest();
|
||||||
void errorTestingLocalSocket();
|
void errorTestingLocalSocket();
|
||||||
|
|
||||||
void clientConnectionToSockAddrReset(const HifiSockAddr& sockAddr);
|
void clientConnectionToSockAddrReset(const HifiSockAddr& sockAddr);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -347,7 +349,7 @@ protected:
|
||||||
functor(it);
|
functor(it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void flagTimeForConnectionStep(ConnectionStep connectionStep, quint64 timestamp);
|
void flagTimeForConnectionStep(ConnectionStep connectionStep, quint64 timestamp);
|
||||||
void possiblyTimeoutSTUNAddressLookup();
|
void possiblyTimeoutSTUNAddressLookup();
|
||||||
|
|
Loading…
Reference in a new issue