Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex.cc414 : BaseMutex(name, level), exclusive_owner_(0), recursion_count_(0), recursive_(recursive) { in Mutex()
454 if (kDebugLocking && !recursive_) { in ExclusiveLock()
457 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()
521 << " recursive_ = " << recursive_; in ExclusiveLock()
527 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveLock()
594 if (kDebugLocking && !recursive_) { in ExclusiveTryLock()
597 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()
626 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveTryLock()
658 DCHECK(!recursive_); in ExclusiveLockUncontendedFor()
694 if (!recursive_ || recursion_count_ == 0) { in ExclusiveUnlock()
[all …]
Dmutex.h295 const bool recursive_; // Can the lock be recursively held? variable