Jobrocket
jobrocket::detail::AtomicCounter Class Reference

#include <AtomicCounter.hpp>

Public Member Functions

 AtomicCounter (uint32_t initial_val=0)
 
uint32_t load ()
 
void store (uint32_t value)
 
void decrement ()
 
void increment ()
 

Constructor & Destructor Documentation

◆ AtomicCounter()

jobrocket::detail::AtomicCounter::AtomicCounter ( uint32_t  initial_val = 0)
inlineexplicit

Member Function Documentation

◆ decrement()

void jobrocket::detail::AtomicCounter::decrement ( )
inline

◆ increment()

void jobrocket::detail::AtomicCounter::increment ( )
inline

◆ load()

uint32_t jobrocket::detail::AtomicCounter::load ( )
inline

◆ store()

void jobrocket::detail::AtomicCounter::store ( uint32_t  value)
inline