Searched refs:mRWLock (Results 1 – 3 of 3) sorted by relevance
81 pthread_rwlock_t mRWLock; variable85 pthread_rwlock_init(&mRWLock, nullptr); in RWLock()88 pthread_rwlock_init(&mRWLock, nullptr); in RWLock()95 pthread_rwlock_init(&mRWLock, &attr); in RWLock()98 pthread_rwlock_init(&mRWLock, nullptr); in RWLock()102 pthread_rwlock_destroy(&mRWLock); in ~RWLock()105 return -pthread_rwlock_rdlock(&mRWLock); in readLock()108 return -pthread_rwlock_tryrdlock(&mRWLock); in tryReadLock()111 return -pthread_rwlock_wrlock(&mRWLock); in writeLock()114 return -pthread_rwlock_trywrlock(&mRWLock); in tryWriteLock()[all …]
166 ScopedRLock lock(mRWLock); in getDefaultNetwork()171 ScopedWLock lock(mRWLock); in setDefaultNetwork()262 ScopedRLock lock(mRWLock); in getNetworkForUser()306 ScopedRLock lock(mRWLock); in getNetworkForConnect()312 ScopedRLock lock(mRWLock); in getNetworkContext()369 ScopedRLock lock(mRWLock); in getNetworkForInterface()374 ScopedRLock lock(mRWLock); in isVirtualNetwork()410 ScopedWLock lock(mRWLock); in createPhysicalNetwork()419 ScopedWLock lock(mRWLock); in createPhysicalOemNetwork()441 ScopedWLock lock(mRWLock); in createVirtualNetwork()[all …]
180 mutable std::shared_mutex mRWLock; variable