YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::fiber::AtomicFloatingBase< T, true > Class Template Reference

#include <atomic.hpp>

Inheritance diagram for yaclib::detail::fiber::AtomicFloatingBase< T, true >:
[legend]
Collaboration diagram for yaclib::detail::fiber::AtomicFloatingBase< T, true >:
[legend]

Public Member Functions

fetch_add (T arg, std::memory_order) noexcept
 
fetch_add (T arg, std::memory_order) volatile noexcept
 
fetch_sub (T arg, std::memory_order) noexcept
 
fetch_sub (T arg, std::memory_order) volatile noexcept
 
operator+= (T arg) noexcept
 
operator+= (T arg) volatile noexcept
 
operator-= (T arg) noexcept
 
operator-= (T arg) volatile noexcept
 
- Public Member Functions inherited from yaclib::detail::fiber::AtomicBase< T >
void store (T desired, std::memory_order) noexcept
 
void store (T desired, std::memory_order) volatile noexcept
 
load (std::memory_order) const noexcept
 
load (std::memory_order) const volatile noexcept
 
 operator T () const noexcept
 
 operator T () const volatile noexcept
 
exchange (T desired, std::memory_order) noexcept
 
exchange (T desired, std::memory_order) volatile noexcept
 
bool compare_exchange_weak (T &expected, T desired, std::memory_order, std::memory_order) noexcept
 
bool compare_exchange_weak (T &expected, T desired, std::memory_order, std::memory_order) volatile noexcept
 
bool compare_exchange_weak (T &expected, T desired, std::memory_order) noexcept
 
bool compare_exchange_weak (T &expected, T desired, std::memory_order) volatile noexcept
 
bool compare_exchange_strong (T &expected, T desired, std::memory_order, std::memory_order) noexcept
 
bool compare_exchange_strong (T &expected, T desired, std::memory_order, std::memory_order) volatile noexcept
 
bool compare_exchange_strong (T &expected, T desired, std::memory_order) noexcept
 
bool compare_exchange_strong (T &expected, T desired, std::memory_order) volatile noexcept
 
bool is_lock_free () const volatile noexcept
 
bool is_lock_free () const noexcept
 
- Public Member Functions inherited from yaclib::detail::fiber::AtomicWait< T >
 AtomicWait () noexcept=default
 
constexpr AtomicWait (T desired) noexcept
 
operator= (T desired) volatile noexcept
 
operator= (T desired) noexcept
 
bool is_lock_free () const volatile noexcept
 
bool is_lock_free () const noexcept
 

Protected Attributes

_value
 
- Protected Attributes inherited from yaclib::detail::fiber::AtomicBase< T >
_value
 
- Protected Attributes inherited from yaclib::detail::fiber::AtomicWait< T >
_value
 

Additional Inherited Members

- Static Public Attributes inherited from yaclib::detail::fiber::AtomicBase< T >
static constexpr bool is_always_lock_free
 
- Static Public Attributes inherited from yaclib::detail::fiber::AtomicWait< T >
static constexpr bool is_always_lock_free = true
 
- Protected Member Functions inherited from yaclib::detail::fiber::AtomicBase< T >
bool CompareExchangeHelper (T &expected, T desired)
 

Detailed Description

template<typename T>
class yaclib::detail::fiber::AtomicFloatingBase< T, true >

Definition at line 93 of file atomic.hpp.

Member Function Documentation

◆ fetch_add() [1/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::fetch_add ( arg,
std::memory_order   
)
inlinenoexcept

◆ fetch_add() [2/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::fetch_add ( arg,
std::memory_order   
) volatile
inlinenoexcept

◆ fetch_sub() [1/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::fetch_sub ( arg,
std::memory_order   
)
inlinenoexcept

◆ fetch_sub() [2/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::fetch_sub ( arg,
std::memory_order   
) volatile
inlinenoexcept

◆ operator+=() [1/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::operator+= ( arg)
inlinenoexcept

◆ operator+=() [2/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::operator+= ( arg) volatile
inlinenoexcept

◆ operator-=() [1/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::operator-= ( arg)
inlinenoexcept

◆ operator-=() [2/2]

template<typename T >
T yaclib::detail::fiber::AtomicFloatingBase< T, true >::operator-= ( arg) volatile
inlinenoexcept

Member Data Documentation

◆ _value

template<typename T >
T yaclib::detail::fiber::AtomicWait< T >::_value
protected

Definition at line 81 of file atomic_wait.hpp.


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