GNU Radio 3.3.0 C++ API
atomic_add.h File Reference
#include <sync_utils.h>
#include <atomic.h>
Include dependency graph for spu_source/atomic_add.h:

Go to the source code of this file.

Functions

static __inline void _atomic_add (int a, atomic_ea_t v)

Function Documentation

static __inline void _atomic_add ( int  a,
atomic_ea_t  v 
) [static]

atomic_add - atomically add to a counter. : handle to effective address of counter. : value to be added.

Atomically add a value to a counter in system memory. The only restriction is that must be word aligned.

References ATOMIC_OP.