Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex.cc395 : BaseMutex(name, level), exclusive_owner_(0), recursion_count_(0), recursive_(recursive) { in Mutex()
435 if (kDebugLocking && !recursive_) { in ExclusiveLock()
438 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()
499 << " recursive_ = " << recursive_; in ExclusiveLock()
505 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveLock()
564 if (kDebugLocking && !recursive_) { in ExclusiveTryLock()
567 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()
596 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveTryLock()
625 DCHECK(!recursive_); in ExclusiveLockUncontendedFor()
661 if (!recursive_ || recursion_count_ == 0) { in ExclusiveUnlock()
[all …]
Dmutex.h288 const bool recursive_; // Can the lock be recursively held? variable