mirror of
https://github.com/overte-org/overte.git
synced 2025-06-28 23:51:03 +02:00
expose mutex in LimitedNodeList
This commit is contained in:
parent
41ef105456
commit
e6dfc5204d
1 changed files with 5 additions and 3 deletions
|
@ -175,6 +175,8 @@ public:
|
|||
|
||||
SharedNodePointer findNodeWithAddr(const HifiSockAddr& addr);
|
||||
|
||||
QReadWriteLock& getMutex() { return _nodeMutex; }
|
||||
|
||||
template<typename NodeLambda>
|
||||
void eachNode(NodeLambda functor) {
|
||||
QReadLocker readLock(&_nodeMutex);
|
||||
|
|
Loading…
Reference in a new issue