mn_atomic_queue.hpp
Go to the documentation of this file.
constexpr mn::size_t size() noexcept
Definition: mn_atomic_queue.hpp:115
pointer pop_all(void) noexcept
Definition: mn_atomic_queue.hpp:76
self_type & operator=(const self_type &other)
Definition: mn_atomic_queue.hpp:133
constexpr bool empty() noexcept
Check, if queue is empty.
Definition: mn_atomic_queue.hpp:97
basic_atomic_queue(const self_type &&other)=delete
void swap(const self_type &other)
Definition: mn_atomic_queue.hpp:128
constexpr bool full() noexcept
Definition: mn_atomic_queue.hpp:101
basic_atomic_queue()
Definition: mn_atomic_queue.hpp:50
constexpr mn::size_t left() noexcept
Definition: mn_atomic_queue.hpp:123
constexpr mn::size_t length() noexcept
How many items can queue.
Definition: mn_atomic_queue.hpp:108
mn::_atomic< pointer > m_atHead
Definition: mn_atomic_queue.hpp:140
mn::atomic_size_t m_curItems
Definition: mn_atomic_queue.hpp:141
bool push(reference _Element) noexcept
Push a element to the queue.
Definition: mn_atomic_queue.hpp:60
const T const_value_type
Definition: mn_atomic_queue.hpp:45
basic_atomic_queue(const self_type &other)=delete
constexpr void clear() noexcept
Clear the queue.
Definition: mn_atomic_queue.hpp:89
const T & const_reference
Definition: mn_atomic_queue.hpp:46
Definition: mn_atomic_queue.hpp:35
basic_node< T > node
Node type witch allocated in global heap.
Definition: mn_node.hpp:266
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
Definition: mn_allocator_typetraits.hpp:25
@ Release
@ Consume