VLC  3.0.15
Typedefs | Functions
vlc_atomic.h File Reference
Include dependency graph for vlc_atomic.h:

Go to the source code of this file.

Typedefs

typedef atomic_uint_least32_t vlc_atomic_float
 

Functions

static void vlc_atomic_init_float (vlc_atomic_float *var, float f)
 
static float vlc_atomic_load_float (vlc_atomic_float *atom)
 Helper to retrieve a single precision from an atom. More...
 
static void vlc_atomic_store_float (vlc_atomic_float *atom, float f)
 Helper to store a single precision into an atom. More...
 

Detailed Description

Atomic operations do not require locking, but they are not very powerful.

Typedef Documentation

◆ vlc_atomic_float

typedef atomic_uint_least32_t vlc_atomic_float

Function Documentation

◆ vlc_atomic_init_float()

static void vlc_atomic_init_float ( vlc_atomic_float var,
float  f 
)
inlinestatic

◆ vlc_atomic_load_float()

static float vlc_atomic_load_float ( vlc_atomic_float atom)
inlinestatic

Helper to retrieve a single precision from an atom.

Referenced by aout_volume_Amplify().

◆ vlc_atomic_store_float()

static void vlc_atomic_store_float ( vlc_atomic_float atom,
float  f 
)
inlinestatic

Helper to store a single precision into an atom.

Referenced by ReplayGainCallback().