Lines Matching full:lock
219 * recursive, i.e. the same thread can't lock it multiple times.
233 // lock or unlock the mutex
234 status_t lock();
237 // lock if possible; returns 0 on success, error otherwise
244 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); }
245 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); }
288 inline status_t Mutex::lock() {
316 * recursive, i.e. the same thread can't lock it multiple times.
403 * Condition variables are paired up with mutexes. Lock the mutex,
418 // Wait on the condition variable. Lock the mutex before calling.