Searched refs:got_lock_ (Results 1 – 2 of 2) sorted by relevance
106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()109 got_lock_ = lock_->Try(); in ThreadMain()110 if (got_lock_) in ThreadMain()114 bool got_lock() const { return got_lock_; } in got_lock()118 bool got_lock_; member in sfntly::TryLockTestThread
96 explicit TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()99 got_lock_ = lock_->Try(); in ThreadMain()100 if (got_lock_) in ThreadMain()104 bool got_lock() const { return got_lock_; } in got_lock()108 bool got_lock_; member in base::TryLockTestThread