Searched defs:LocalLockHolder (Results 1 – 1 of 1) sorted by relevance
320 struct LocalLockHolder { struct321 using WeakPointer = std::weak_ptr<Mutex>;322 using StrongPointer = std::shared_ptr<Mutex>;323 using Map = std::unordered_map<Key, WeakPointer>;324 using MapLock = std::recursive_mutex;326 LocalLockHolder(Key key, Map& map, MapLock& mapLock) in LocalLockHolder() function339 LocalLockHolder(LocalLockHolder&& other) noexcept in LocalLockHolder() function346 ~LocalLockHolder() { in ~LocalLockHolder()365 void lock() { mRefLock->lock(); } in lock()366 void unlock() { mRefLock->unlock(); } in unlock()[all …]