Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
gts::Atomic< bool > Class Reference

Atomic bool specialization. More...

#include <Atomic.h>

Inherits gts::AtomicCommon< bool >.

Public Member Functions

 Atomic (const Atomic &)=delete
 
Atomicoperator= (const Atomic &)=delete
 
Atomicoperator= (const Atomic &) volatile=delete
 
constexpr Atomic (bool val)
 
- Public Member Functions inherited from gts::AtomicCommon< bool >
 AtomicCommon (const AtomicCommon &)=delete
 
constexpr AtomicCommon (bool val)
 
AtomicCommonoperator= (const AtomicCommon &)=delete
 
AtomicCommonoperator= (const AtomicCommon &) volatile=delete
 
void store (bool value, gts::memory_order order)
 
bool load (gts::memory_order order) const
 
bool exchange (bool value, gts::memory_order order)
 
bool compare_exchange_weak (bool &expected, bool value, gts::memory_order xchgOrder, gts::memory_order loadOrder)
 
bool compare_exchange_strong (bool &expected, bool value, gts::memory_order xchgOrder, gts::memory_order loadOrder)
 

Additional Inherited Members

- Protected Attributes inherited from gts::AtomicCommon< bool >
GTS_ATOMIC_TYPE< bool > m_atom
 

Detailed Description

Atomic bool specialization.