24 namespace distributed_mutex {
99 template <
typename>
class Atomic = std::atomic,
100 bool TimePublishing =
true>
162 template <
typename Rep,
typename Period>
164 const std::chrono::duration<Rep, Period>& duration);
172 template <
typename Clock,
typename Duration>
174 const std::chrono::time_point<Clock, Duration>& deadline);
DistributedMutexStateProxy try_lock()
—— Concurrent Priority Queue Implementation ——
void unlock(DistributedMutexStateProxy)
DistributedMutex & operator=(DistributedMutex &&)=delete
DistributedMutexStateProxy try_lock_until(const std::chrono::time_point< Clock, Duration > &deadline)
DistributedMutexStateProxy try_lock_for(const std::chrono::duration< Rep, Period > &duration)
Atomic< std::uintptr_t > state_
DistributedMutexStateProxy lock()