25 void *tmp1 = (
int *)&val;
26 void *
volatile *tmp2 = &tmp1;
const char const char void * val
int avpriv_atomic_int_get(volatile int *ptr)
Load the current value stored in an atomic integer.
#define av_assert0(cond)
assert() equivalent, that is always enabled.
void avpriv_atomic_int_set(volatile int *ptr, int val)
Store a new value in an atomic integer.
simple assert() macros that are a bit more flexible than ISO C assert().
int avpriv_atomic_int_add_and_fetch(volatile int *ptr, int inc)
Add a value to an atomic integer.
void * avpriv_atomic_ptr_cas(void *volatile *ptr, void *oldval, void *newval)
Atomic pointer compare and swap.