Searched refs:UnlockProxyLockHelper (Results 1 – 2 of 2) sorted by relevance
25 template <typename LockedType> class UnlockProxyLockHelper {32 UnlockProxyLockHelper() : value_(nullptr) {} in UnlockProxyLockHelper() function33 UnlockProxyLockHelper(LockedType* value, std::function<void(LockedType*)>&& unlock) in UnlockProxyLockHelper() function35 ~UnlockProxyLockHelper() { in ~UnlockProxyLockHelper()38 UnlockProxyLockHelper(UnlockProxyLockHelper&& rhs) in UnlockProxyLockHelper() function43 UnlockProxyLockHelper& operator=(UnlockProxyLockHelper&& rhs) {45 UnlockProxyLockHelper dummy(std::move(*this));53 UnlockProxyLockHelper(const UnlockProxyLockHelper& rhs) = delete;54 UnlockProxyLockHelper& operator=(const UnlockProxyLockHelper& rhs) = delete;
42 template <typename UserState> using LockedUserState = ProxyLock<UnlockProxyLockHelper<UserState>>;