Searched defs:MutexLock (Results 1 - 1 of 1) sorted by relevance

/art/runtime/base/
H A Dmutex.h419 class SCOPED_LOCKABLE MutexLock { class in namespace:art
421 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) {
425 ~MutexLock() UNLOCK_FUNCTION() {
432 DISALLOW_COPY_AND_ASSIGN(MutexLock);
434 // Catch bug where variable name is omitted. "MutexLock (lock);" instead of "MutexLock mu(lock)".
435 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_declaration_missing_variable_name) macro

Completed in 67 milliseconds