|
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 void | _atomic_set (atomic_ea_t v, int val) |
| static __inline void _atomic_set | ( | atomic_ea_t | v, |
| int | val | ||
| ) | [static] |
atomic_set - atomically set a counter in system memory. : this is a 64bit address that points to an atomic_t
Atomically set a counter to a given value. The only restriction is that must be word aligned.
This routine implements the "fetch and store" primitive that is described in "Book I PowerPC User Instruction Set Architecture"
Returns the previous value from system memory.
References _atomic_replace().