Lines Matching full:mutex
42 // sensitive like mutex locking/unlocking.
222 // Factory method for creating platform dependent Mutex.
223 // Please use delete to reclaim the storage for the returned Mutex.
224 static Mutex* CreateMutex();
396 // Mutex
399 // The implementations of mutex should allow for nested/recursive locking.
401 class Mutex {
403 virtual ~Mutex() {}
405 // Locks the given mutex. If the mutex is currently unlocked, it becomes
406 // locked and owned by the calling thread, and immediately. If the mutex
408 // the mutex is unlocked.
411 // Unlocks the given mutex. The mutex is assumed to be locked and owned by
421 // of a mutex.
424 explicit ScopedLock(Mutex* mutex): mutex_(mutex) {
432 Mutex* mutex_;