FFmpeg
|
atomic.c
Go to the documentation of this file.
int avpriv_atomic_int_get(volatile int *ptr)
Load the current value stored in an atomic integer.
Definition: atomic.c:74
void avpriv_atomic_int_set(volatile int *ptr, int val)
Store a new value in an atomic integer.
Definition: atomic.c:79
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.
Definition: atomic.c:84
void * avpriv_atomic_ptr_cas(void *volatile *ptr, void *oldval, void *newval)
Atomic pointer compare and swap.
Definition: atomic.c:90
static av_always_inline int pthread_mutex_unlock(pthread_mutex_t *mutex)
Definition: os2threads.h:104
static av_always_inline int pthread_mutex_lock(pthread_mutex_t *mutex)
Definition: os2threads.h:97
Generated on Fri Dec 20 2024 06:55:58 for FFmpeg by 1.8.11