mn_atomic_spinlock.hpp
Go to the documentation of this file.
Definition: mn_lock.hpp:64
This class implements a simple spinlack, whit atomic operations.
Definition: mn_atomic_spinlock.hpp:34
atomic_spinlock(const self_type &)=delete
virtual int time_lock(const struct timespec *timeout)
Definition: mn_atomic_spinlock.hpp:65
virtual bool is_initialized() const
Definition: mn_atomic_spinlock.hpp:94
atomic_spinlock(const reference value)
Construct a new atomic_spinlock and initializes it with the given value.
Definition: mn_atomic_spinlock.hpp:52
bool operator!=(const value_type &oValue)
Definition: mn_atomic_spinlock.hpp:114
virtual int lock(unsigned int not_use=0)
Definition: mn_atomic_spinlock.hpp:59
atomic_spinlock()
Construct a new atomic_spinlock.
Definition: mn_atomic_spinlock.hpp:45
self_type & operator=(const self_type &)=delete
self_type & operator=(const value_type &oValue)
Definition: mn_atomic_spinlock.hpp:104
bool operator==(const value_type &oValue)
Definition: mn_atomic_spinlock.hpp:110
Definition: mn_lock.hpp:122
Basic atomics types This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/Mini...
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
Definition: mn_allocator_typetraits.hpp:25