Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex.cc381 : BaseMutex(name, level), exclusive_owner_(0), recursion_count_(0), recursive_(recursive) { in Mutex()
421 if (kDebugLocking && !recursive_) { in ExclusiveLock()
424 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()
472 << " recursive_ = " << recursive_; in ExclusiveLock()
478 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveLock()
486 if (kDebugLocking && !recursive_) { in ExclusiveTryLock()
489 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()
518 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveTryLock()
547 DCHECK(!recursive_); in ExclusiveLockUncontendedFor()
583 if (!recursive_ || recursion_count_ == 0) { in ExclusiveUnlock()
[all …]
Dmutex.h276 const bool recursive_; // Can the lock be recursively held? variable