B2BITS FIX Antenna HFT
1.0.16
|
#include <b2b_platform.h>
Public Member Functions | |
bool | assert_isLocked () throw () |
thread_id_t | lock (bool knockKnock=false) throw () |
spinlock_reentrant () | |
bool | try_lock (bool knockKnock=false) throw () |
void | unlock () throw () |
bool | wasKnocked () throw () |
~spinlock_reentrant () | |
Public Attributes | |
volatile unsigned | counter_ |
volatile unsigned | knocked_ |
SPINLOCK_T | lock_ |
volatile thread_id_t | owner_ |
|
inline |
References counter_, knocked_, lock_, owner_, and SPINLOCK_INIT.
|
inline |
References lock_, and SPINLOCK_FINI.
|
inline |
References counter_, lock_, owner_, and thread_id().
|
inline |
|
inline |
References counter_, knocked_, lock_, owner_, SPIN_TRYLOCK, and thread_id().
|
inline |
References counter_, lock_, owner_, SPIN_UNLOCK, and thread_id().
|
inline |
References knocked_.
volatile unsigned spinlock_reentrant::counter_ |
Referenced by assert_isLocked(), lock(), spinlock_reentrant(), try_lock(), and unlock().
volatile unsigned spinlock_reentrant::knocked_ |
Referenced by lock(), spinlock_reentrant(), try_lock(), and wasKnocked().
SPINLOCK_T spinlock_reentrant::lock_ |
Referenced by assert_isLocked(), lock(), spinlock_reentrant(), try_lock(), unlock(), and ~spinlock_reentrant().
volatile thread_id_t spinlock_reentrant::owner_ |
Referenced by assert_isLocked(), lock(), spinlock_reentrant(), try_lock(), and unlock().