Searched refs:lock_ (Results 1 – 14 of 14) sorted by relevance
29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()33 lock_->Acquire(); in ThreadMain()35 lock_->Unlock(); in ThreadMain()38 lock_->Acquire(); in ThreadMain()41 lock_->Unlock(); in ThreadMain()44 if (lock_->Try()) { in ThreadMain()47 lock_->Unlock(); in ThreadMain()55 Lock* lock_; member in sfntly::BasicLockTestThread106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()109 got_lock_ = lock_->Try(); in ThreadMain()[all …]
61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock()62 lock_.Acquire(); in AutoLock()66 lock_.Unlock(); in ~AutoLock()70 Lock& lock_;
41 pthread_mutex_destroy(&lock_); in ~Worker()51 ret = pthread_mutex_init(&lock_, NULL); in InitWorker()61 pthread_mutex_destroy(&lock_); in InitWorker()74 return pthread_mutex_lock(&lock_); in Lock()78 return pthread_mutex_unlock(&lock_); in Unlock()135 int ret = pthread_cond_wait(&cond_, &lock_); in WaitForSignalOrExitLocked()
259 int ret = pthread_mutex_lock(&lock_); in ~DrmDisplayCompositor()269 ret = pthread_mutex_unlock(&lock_); in ~DrmDisplayCompositor()273 pthread_mutex_destroy(&lock_); in ~DrmDisplayCompositor()280 int ret = pthread_mutex_init(&lock_, NULL); in Init()287 pthread_mutex_destroy(&lock_); in Init()293 pthread_mutex_destroy(&lock_); in Init()330 int ret = pthread_mutex_lock(&lock_); in QueueComposition()339 pthread_mutex_unlock(&lock_); in QueueComposition()341 pthread_mutex_lock(&lock_); in QueueComposition()346 ret = pthread_mutex_unlock(&lock_); in QueueComposition()[all …]
64 pthread_mutex_t lock_; variable
168 mutable pthread_mutex_t lock_; variable
16 base::LockGuard<base::Mutex> guard(&lock_); in ~TaskQueue()23 base::LockGuard<base::Mutex> guard(&lock_); in Append()33 base::LockGuard<base::Mutex> guard(&lock_); in GetNext()50 base::LockGuard<base::Mutex> guard(&lock_); in Terminate()
40 base::LockGuard<base::Mutex> guard(&lock_); in ~DefaultPlatform()60 base::LockGuard<base::Mutex> guard(&lock_); in SetThreadPoolSize()71 base::LockGuard<base::Mutex> guard(&lock_); in EnsureInitialized()83 base::LockGuard<base::Mutex> guard(&lock_); in PumpMessageLoop()105 base::LockGuard<base::Mutex> guard(&lock_); in CallOnForegroundThread()
36 base::Mutex lock_;
44 base::Mutex lock_; variable
1354 Mutex lock_; member in thread_annot_lock_35_modified::Foo1355 int a_ GUARDED_BY(lock_);1358 void Func(Foo* child) LOCKS_EXCLUDED(lock_) { in Func()1361 lock_.Lock(); in Func()1371 lock_.Unlock(); in Func()1374 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_) { in bar()1393 Mutex lock_; member in thread_annot_lock_36_modified::Foo1394 int a_ GUARDED_BY(lock_);1397 void Func(Foo* child) LOCKS_EXCLUDED(lock_);1398 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_);[all …]
135 fun:__lll_*lock_*
104 #define SYNCHRONIZED lock_t<maybe_mutex_t<threadsafe> > lock_(mutex)
126 #define SYNCHRONIZED lock_t<maybe_mutex_t<threadsafe> > lock_(this->mutex)