Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

RWLock_Queue_Item Struct Reference

List of all members.

Public Member Functions

 RWLock_Queue_Item (bool write, RWLock_Queue_Item *&tail)
 ~RWLock_Queue_Item ()

Public Attributes

RWLock_Queue_Itemnext
RWLock_Queue_Itemprev
bool writer
unsigned int waiting_count
Basics::cond my_turn
time_t enqueue_time
pthread_t enqueue_thread

Constructor & Destructor Documentation

RWLock_Queue_Item::RWLock_Queue_Item bool  write,
RWLock_Queue_Item *&  tail
[inline]
 

Definition at line 56 of file ReadersWritersLock.C.

References enqueue_thread, enqueue_time, next, and prev.

RWLock_Queue_Item::~RWLock_Queue_Item  )  [inline]
 

Definition at line 78 of file ReadersWritersLock.C.

References next, and prev.


Member Data Documentation

pthread_t RWLock_Queue_Item::enqueue_thread
 

Definition at line 53 of file ReadersWritersLock.C.

Referenced by RWLock_Queue_Item().

time_t RWLock_Queue_Item::enqueue_time
 

Definition at line 52 of file ReadersWritersLock.C.

Referenced by RWLock_Queue_Item().

Basics::cond RWLock_Queue_Item::my_turn
 

Definition at line 46 of file ReadersWritersLock.C.

Referenced by ReadersWritersLock::acquireRead(), ReadersWritersLock::acquireWrite(), ReadersWritersLock::release(), ReadersWritersLock::releaseRead(), and ReadersWritersLock::releaseWrite().

RWLock_Queue_Item* RWLock_Queue_Item::next
 

Definition at line 37 of file ReadersWritersLock.C.

Referenced by ReadersWritersLock::acquireRead(), ReadersWritersLock::acquireWrite(), RWLock_Queue_Item(), and ~RWLock_Queue_Item().

RWLock_Queue_Item * RWLock_Queue_Item::prev
 

Definition at line 37 of file ReadersWritersLock.C.

Referenced by ReadersWritersLock::acquireRead(), ReadersWritersLock::acquireWrite(), RWLock_Queue_Item(), and ~RWLock_Queue_Item().

unsigned int RWLock_Queue_Item::waiting_count
 

Definition at line 43 of file ReadersWritersLock.C.

Referenced by ReadersWritersLock::acquireRead().

bool RWLock_Queue_Item::writer
 

Definition at line 40 of file ReadersWritersLock.C.

Referenced by ReadersWritersLock::acquireRead(), and ReadersWritersLock::release().


The documentation for this struct was generated from the following file:
Generated on Mon May 8 00:49:12 2006 for Vesta by  doxygen 1.4.2