GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::AtomicFlag Class Reference

#include <GREM/core/system/synchronization.hpp>

Public Member Functions

constexpr AtomicFlag () noexcept=default
 AtomicFlag (const AtomicFlag &)=delete
AtomicFlag & operator= (const AtomicFlag &)=delete
GREM_ALWAYS_INLINE void clear (MemoryOrder order=MemoryOrder::SEQUENTIALLY_CONSISTENT) noexcept
GREM_ALWAYS_INLINE bool test_and_set (MemoryOrder order=MemoryOrder::SEQUENTIALLY_CONSISTENT) noexcept
GREM_ALWAYS_INLINE bool test (MemoryOrder order=MemoryOrder::SEQUENTIALLY_CONSISTENT) const noexcept
GREM_ALWAYS_INLINE void wait (bool old, MemoryOrder order=MemoryOrder::SEQUENTIALLY_CONSISTENT) const noexcept
GREM_ALWAYS_INLINE void notify_one () noexcept
GREM_ALWAYS_INLINE void notify_all () noexcept

Constructor & Destructor Documentation

◆ AtomicFlag() [1/2]

grem::AtomicFlag::AtomicFlag ( )
constexprdefaultnoexcept

◆ AtomicFlag() [2/2]

grem::AtomicFlag::AtomicFlag ( const AtomicFlag & )
delete

Member Function Documentation

◆ operator=()

AtomicFlag & grem::AtomicFlag::operator= ( const AtomicFlag & )
delete

◆ clear()

GREM_ALWAYS_INLINE void grem::AtomicFlag::clear ( MemoryOrder order = MemoryOrder::SEQUENTIALLY_CONSISTENT)
inlinenoexcept

◆ test_and_set()

GREM_ALWAYS_INLINE bool grem::AtomicFlag::test_and_set ( MemoryOrder order = MemoryOrder::SEQUENTIALLY_CONSISTENT)
inlinenoexcept

◆ test()

GREM_ALWAYS_INLINE bool grem::AtomicFlag::test ( MemoryOrder order = MemoryOrder::SEQUENTIALLY_CONSISTENT) const
inlinenodiscardnoexcept

◆ wait()

GREM_ALWAYS_INLINE void grem::AtomicFlag::wait ( bool old,
MemoryOrder order = MemoryOrder::SEQUENTIALLY_CONSISTENT ) const
inlinenoexcept

◆ notify_one()

GREM_ALWAYS_INLINE void grem::AtomicFlag::notify_one ( )
inlinenoexcept

◆ notify_all()

GREM_ALWAYS_INLINE void grem::AtomicFlag::notify_all ( )
inlinenoexcept

The documentation for this class was generated from the following file: