|
GNU Radio 3.3.0 C++ API
|
#include "sync_utils.h"#include "mutex.h"#include "trace_libsync.h"
Go to the source code of this file.
Functions | |
| static __inline int | _mutex_trylock (mutex_ea_t ea) |
| static __inline int _mutex_trylock | ( | mutex_ea_t | ea | ) | [static] |
mutex_trylock - acquire a lock, or return immediately. : handle to effective address of lock variable.
Description: Acquire a lock, or return immediately without polling for availability.
Context: The application should not call this interface from a tight loop!! Use spin_lock() instead.
References DECL_MUTEX_VARS, RAW_TEST_AND_SET, and TRACE_MUTEX_TRYLOCK.