Searched refs:RaiiLocker (Results 1 – 6 of 6) sorted by relevance
46 class RaiiLocker { class48 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anond37819190111::RaiiLocker49 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()55 class RaiiLocker<std::mutex> { class57 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anond37819190111::RaiiLocker58 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()83 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
46 class RaiiLocker { class48 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anona2e9d28a0111::RaiiLocker49 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()55 class RaiiLocker<std::mutex> { class57 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anona2e9d28a0111::RaiiLocker58 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()83 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
47 class RaiiLocker { class49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anon22f6accb0111::RaiiLocker50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()56 class RaiiLocker<std::mutex> { class58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anon22f6accb0111::RaiiLocker59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
47 class RaiiLocker { class49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anond8454e8b0111::RaiiLocker50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()56 class RaiiLocker<std::mutex> { class58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anond8454e8b0111::RaiiLocker59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
47 class RaiiLocker { class49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anon579b7e5a0111::RaiiLocker50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()56 class RaiiLocker<std::mutex> { class58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anon579b7e5a0111::RaiiLocker59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
47 class RaiiLocker { class49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anon017309f90111::RaiiLocker50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()56 class RaiiLocker<std::mutex> { class58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anon017309f90111::RaiiLocker59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()200 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()