Searched refs:locks_ (Results 1 – 2 of 2) sorted by relevance
107 LockTest() : n_(), locks_() {} in LockTest()110 locks_ = new LockType*[n_]; in Init()112 locks_[i] = new LockType; in Init()116 delete locks_[i]; in ~LockTest()117 delete [] locks_; in ~LockTest()121 locks_[i]->lock(); in L()126 locks_[i]->unlock(); in U()131 locks_[i]->rdlock(); in RL()136 locks_[i]->rdunlock(); in RU()141 return locks_[i]; in A()[all …]
79 locks_(std::move(locks)), in VariableInputLockHolder()84 locks_(std::move(other.locks_)), in VariableInputLockHolder()90 locks_.reset(); in ~VariableInputLockHolder()100 std::unique_ptr<std::vector<mutex_lock>> locks_; member