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

Go to the source code of this file.

Functions

static __inline void _read_lock (eaddr_t ea)

Function Documentation

static __inline void _read_lock ( eaddr_t  ea) [static]

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

Description: Acquire a non-exclusive reader 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.