Home
last modified time | relevance | path

Searched refs:recursive_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Dmutex.cc313 : BaseMutex(name, level), recursive_(recursive), recursion_count_(0) { in Mutex()
358 if (kDebugLocking && !recursive_) { in ExclusiveLock()
361 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()
393 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveLock()
401 if (kDebugLocking && !recursive_) { in ExclusiveTryLock()
404 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()
433 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveTryLock()
456 if (!recursive_ || recursion_count_ == 0) { in ExclusiveUnlock()
458 CHECK(recursion_count_ == 0 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveUnlock()
500 os << (recursive_ ? "recursive " : "non-recursive ") in Dump()
Dmutex.h267 const bool recursive_; // Can the lock be recursively held? variable