|
GNU Radio 3.3.0 C++ API
|
#include <sync_utils.h>#include <atomic.h>
Go to the source code of this file.
Functions | |
| static __inline int | _atomic_sub_return (int a, atomic_ea_t v) |
| static __inline int _atomic_sub_return | ( | int | a, |
| atomic_ea_t | v | ||
| ) | [static] |
atomic_sub_return - atomically subtract from a counter & return previous. : handle to effective address of counter. : value to be subtracted.
Atomically subtract a value from a counter in system memory. The only restriction is that must be word aligned.
Returns the previous value from system memory.
References ATOMIC_OP.