Searched refs:lock_ (Results 1 – 7 of 7) sorted by relevance
32 explicit LockGuard(Lock* lock) : lock_(lock) { in LockGuard()33 lock_->Lock(); in LockGuard()37 lock_ = o.lock_; in LockGuard()38 o.lock_ = nullptr; in LockGuard()45 if (lock_) { in ~LockGuard()46 lock_->Unlock(); in ~LockGuard()51 Lock* lock_;59 LockGuard(Lock* lock, RegionView* region) : lock_(lock), region_(region) { in LockGuard()60 lock_->Lock(region_); in LockGuard()64 lock_ = o.lock_; in LockGuard()[all …]
76 lock_.Unlock(); in WaitForDataLocked()78 lock_.Lock(); in WaitForDataLocked()104 lock_.Unlock(); in WriteReserveLocked()106 lock_.Lock(); in WriteReserveLocked()114 this->lock_.Lock(); in Read()126 this->lock_.Unlock(); in Read()136 this->lock_.Lock(); in Write()139 this->lock_.Unlock(); in Write()146 this->lock_.Unlock(); in Write()160 this->lock_.Lock(); in Read()[all …]
42 : lock_(lock), thread_(&SimpleLocker::Work, this) {} in SimpleLocker()46 lock_->Lock(); in Work()49 lock_->Unlock(); in Work()61 MyLock* lock_; member in SimpleLocker
68 if (lock_.compare_exchange_strong(expected, Sides::OurSide)) { in Lock()85 return lock_.compare_exchange_strong(expected, 0); in Recover()92 lock_ = 0; in Unlock()96 std::atomic<uint32_t> lock_;
92 return lock_.Recover(); in RecoverBase()103 SpinLock lock_; variable
49 LockGuard<Mutex> guard(lock_); in Close()85 LockGuard<Mutex> guard(lock_); in SetMicMute()92 LockGuard<Mutex> guard(lock_); in GetMicMute()109 LockGuard<Mutex> guard(lock_); in OpenInputStream()127 LockGuard<Mutex> guard(lock_); in CloseInputStream()153 LockGuard<Mutex> guard(lock_); in OpenOutputStream()173 LockGuard<Mutex> guard(lock_); in CloseOutputStream()183 LockGuard<Mutex> guard(lock_); in Dump()
47 cvd::LockGuard<cvd::Mutex> guard(lock_); in IsMicrophoneMuted()274 mutable cvd::Mutex lock_; variable