GNU Radio 3.3.0 C++ API
write_lock.h File Reference
#include "sync_utils.h"
#include "mutex.h"
Include dependency graph for write_lock.h:

Go to the source code of this file.

Functions

static __inline void _write_lock (eaddr_t ea)

Function Documentation

static __inline void _write_lock ( eaddr_t  ea) [static]

write_lock - acquire writer lock, or spin until available. : handle to effective address of lock variable.

Description: Acquire an exclusive writer lock, or spin until available. The only restriction here is that must be word aligned.

Context: This routine should not be called if SPU asynchronous interrupts are enabled.

References DECL_MUTEX_VARS, and RAW_SPINLOCK.