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 …]
149 ScopedRLock lock(mRWLock); in getDefaultNetwork()154 ScopedWLock lock(mRWLock); in setDefaultNetwork()240 ScopedRLock lock(mRWLock); in getNetworkForDns()247 ScopedRLock lock(mRWLock); in getNetworkForUser()277 ScopedRLock lock(mRWLock); in getNetworkForConnect()283 ScopedRLock lock(mRWLock); in getNetworkContext()340 ScopedRLock lock(mRWLock); in getNetworkForInterface()345 ScopedRLock lock(mRWLock); in isVirtualNetwork()381 ScopedWLock lock(mRWLock); in createPhysicalNetwork()390 ScopedWLock lock(mRWLock); in createPhysicalOemNetwork()[all …]
171 mutable std::shared_mutex mRWLock; variable