CACAO
Namespaces | Functions
md-atomic.hpp File Reference

Go to the source code of this file.

Namespaces

 Atomic_md
 

Functions

uint32_t Atomic_md::compare_and_swap (volatile uint32_t *p, uint32_t oldval, uint32_t newval)
 An atomic compare and swap for 32-bit integer values. More...
 
uint64_t Atomic_md::compare_and_swap (volatile uint64_t *p, uint64_t oldval, uint64_t newval)
 An atomic compare and swap for 64-bit integer values. More...
 
void Atomic_md::memory_barrier (void)
 A memory barrier. More...
 
void Atomic_md::write_memory_barrier (void)
 A write memory barrier. More...
 
void Atomic_md::instruction_barrier (void)
 An instruction barrier. More...