Searched defs:TimedLock (Results 1 – 1 of 1) sorted by relevance
215 struct SCOPED_CAPABILITY TimedLock { struct216 TimedLock(Mutex& mutex, nsecs_t timeout, const char* whence) ACQUIRE(mutex) in TimedLock() argument221 ~TimedLock() RELEASE() { in RELEASE()225 bool locked() const { return status == NO_ERROR; } in locked()227 Mutex& mutex;228 const status_t status;