|
FFmpeg
|
#include "config.h"Go to the source code of this file.
Functions | |
| int | avpriv_atomic_int_get (volatile int *ptr) |
| Load the current value stored in an atomic integer. More... | |
| void | avpriv_atomic_int_set (volatile int *ptr, int val) |
| Store a new value in an atomic integer. More... | |
| int | avpriv_atomic_int_add_and_fetch (volatile int *ptr, int inc) |
| Add a value to an atomic integer. More... | |
| void * | avpriv_atomic_ptr_cas (void *volatile *ptr, void *oldval, void *newval) |
| Atomic pointer compare and swap. More... | |
Add a value to an atomic integer.
| ptr | atomic integer |
| inc | the value to add to the atomic integer (may be negative) |
Definition at line 85 of file atomic.c.
Referenced by main().
1.8.6