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

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

Completed in 48 milliseconds