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

FlushQueue Class Reference

#include <FlushQueue.H>

List of all members.

Public Member Functions

 FlushQueue (Basics::mutex *mu) throw ()
void Enqueue () throw ()
void Dequeue () throw ()

Private Types

typedef Sequence< Basics::cond * > CondSeq

Private Attributes

Basics::mutexmu
int numRunning
CondSeq seq


Member Typedef Documentation

typedef Sequence<Basics::cond*> FlushQueue::CondSeq [private]
 

Definition at line 48 of file FlushQueue.H.


Constructor & Destructor Documentation

FlushQueue::FlushQueue Basics::mutex mu  )  throw () [inline]
 

Definition at line 34 of file FlushQueue.H.


Member Function Documentation

void FlushQueue::Dequeue  )  throw ()
 

Definition at line 43 of file FlushQueue.C.

References Sequence< Elem, elem_ptrfree >::gethi(), numRunning, and seq.

Referenced by CacheS::FlushUsedCIs().

void FlushQueue::Enqueue  )  throw ()
 

Definition at line 28 of file FlushQueue.C.

References Sequence< Elem, elem_ptrfree >::addlo(), numRunning, Sequence< Elem, elem_ptrfree >::remhi(), seq, and Basics::cond::wait().

Referenced by CacheS::FlushUsedCIs().


Member Data Documentation

Basics::mutex* FlushQueue::mu [private]
 

Definition at line 50 of file FlushQueue.H.

int FlushQueue::numRunning [private]
 

Definition at line 51 of file FlushQueue.H.

Referenced by Dequeue(), and Enqueue().

CondSeq FlushQueue::seq [private]
 

Definition at line 52 of file FlushQueue.H.

Referenced by Dequeue(), and Enqueue().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:09 2006 for Vesta by  doxygen 1.4.2