Searched defs:TryLock (Results 1 – 11 of 11) sorted by relevance
99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function112 bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; } in TryLock() function127 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } in TryLock() function138 bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; } in TryLock() function
209 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function221 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function241 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function263 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
139 bool Mutex::TryLock() { in TryLock() function in v8::base::Mutex180 bool RecursiveMutex::TryLock() { in TryLock() function in v8::base::RecursiveMutex
35 bool TryLock() { in TryLock() function
112 TEST(LockTest, TryLock) { in TEST() argument
237 TEST(LockTest, TryLock) { in TEST() argument
194 bool Mutex::TryLock() { in TryLock() function in Mutex482 bool ScopedThread::TryLock(const Mutex &m) { in TryLock() function in ScopedThread
203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} in TryLock() function
494 bool FileStream::TryLock() { in TryLock() function in rtc::FileStream
1427 static bool TryLock(Isolate* isolate) { in TryLock() function
572 bool TryLock() { return mutex_->TryLock(); } in TryLock() function