B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
rwlock_t< lock_t > Class Template Reference

#include <b2b_platform.h>

Public Member Functions

void readLock () throw ()
 
void readUnlock () throw ()
 
 rwlock_t () throw ()
 
bool wasKnocked () throw ()
 
void writeLock (bool knockKnock=true) throw ()
 
void writeUnlock () throw ()
 

Public Attributes

volatile int count_
 
volatile int knocked_
 
lock_t lock_
 

Constructor & Destructor Documentation

template<class lock_t>
rwlock_t< lock_t >::rwlock_t ( )
throw (
)
inline

Member Function Documentation

template<class lock_t>
void rwlock_t< lock_t >::readLock ( )
throw (
)
inline
template<class lock_t>
void rwlock_t< lock_t >::readUnlock ( )
throw (
)
inline
template<class lock_t>
bool rwlock_t< lock_t >::wasKnocked ( )
throw (
)
inline
template<class lock_t>
void rwlock_t< lock_t >::writeLock ( bool  knockKnock = true)
throw (
)
inline
template<class lock_t>
void rwlock_t< lock_t >::writeUnlock ( )
throw (
)
inline

Member Data Documentation

template<class lock_t>
volatile int rwlock_t< lock_t >::count_
template<class lock_t>
volatile int rwlock_t< lock_t >::knocked_
template<class lock_t>
lock_t rwlock_t< lock_t >::lock_