wut  v1.7.0
Wii U Toolchain
Functions
atomic.h File Reference
#include <wut.h>
Include dependency graph for atomic.h:

Go to the source code of this file.

Functions

BOOL OSCompareAndSwapAtomic (volatile uint32_t *ptr, uint32_t compare, uint32_t value)
 
BOOL OSCompareAndSwapAtomicEx (volatile uint32_t *ptr, uint32_t compare, uint32_t value, uint32_t *old)
 
uint32_t OSSwapAtomic (volatile uint32_t *ptr, uint32_t value)
 
int32_t OSAddAtomic (volatile int32_t *ptr, int32_t value)
 
uint32_t OSAndAtomic (volatile uint32_t *ptr, uint32_t value)
 
uint32_t OSOrAtomic (volatile uint32_t *ptr, uint32_t value)
 
uint32_t OSXorAtomic (volatile uint32_t *ptr, uint32_t value)
 
BOOL OSTestAndClearAtomic (volatile uint32_t *ptr, uint32_t bit)
 
BOOL OSTestAndSetAtomic (volatile uint32_t *ptr, uint32_t bit)