Broom 1.0.0
A thread-local C++ Garbage Collector
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
broom::Atomic Struct Reference

#include <atomics.h>

Static Public Member Functions

template<typename T >
requires std::is_integral_v<T>
staticRelaxedFetchAdd (T *where, T howmuch)
 
template<typename T >
requires std::is_integral_v<T>
staticRelaxedFetchSub (T *where, T howmuch)
 
template<typename T >
static void RelaxedStore (T *destination, T what)
 
template<typename T >
staticRelaxedLoad (T *source)
 

Detailed Description

Definition at line 12 of file atomics.h.

Member Function Documentation

◆ RelaxedFetchAdd()

template<typename T >
requires std::is_integral_v<T>
static T broom::Atomic::RelaxedFetchAdd ( T *  where,
howmuch 
)
inlinestatic

Definition at line 15 of file atomics.h.

◆ RelaxedFetchSub()

template<typename T >
requires std::is_integral_v<T>
static T broom::Atomic::RelaxedFetchSub ( T *  where,
howmuch 
)
inlinestatic

Definition at line 22 of file atomics.h.

◆ RelaxedLoad()

template<typename T >
static T broom::Atomic::RelaxedLoad ( T *  source)
inlinestatic

Definition at line 34 of file atomics.h.

◆ RelaxedStore()

template<typename T >
static void broom::Atomic::RelaxedStore ( T *  destination,
what 
)
inlinestatic

Definition at line 28 of file atomics.h.


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