Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

RazorBack::MTqueue_::Jobq_ Struct Reference

Jobq_: this is the object that is held in the job priority queue. More...

#include <MTqueue.hh>

Collaboration diagram for RazorBack::MTqueue_::Jobq_:

Collaboration graph
[legend]
List of all members.

Public Methods

 Jobq_ (MTjobbase_ *Jptr=NULL, Semaphore_ *Dptr=NULL)
 Inits with a job pointed to by Jptr and a semaphore pointed to by Dptr.

bool operator< (const Jobq_ &Rhs) const
bool empty () const

Public Attributes

MTjobbase_Jobptr
 base ptr to somebody's job.

Semaphore_Doneptr
 points to a semaphore to be signalled upon job completion.


Detailed Description

Jobq_: this is the object that is held in the job priority queue.

Contains a ptr to the Derivhdl_-wrapped actual job description object that is submitted by a "producer". Can also be sorted.

Definition at line 122 of file MTqueue.hh.


Constructor & Destructor Documentation

RazorBack::MTqueue_::Jobq_::Jobq_ ( MTjobbase_ * Jptr = NULL,
Semaphore_ * Dptr = NULL ) [inline, explicit]
 

Inits with a job pointed to by Jptr and a semaphore pointed to by Dptr.

Definition at line 132 of file MTqueue.hh.


Member Function Documentation

bool RazorBack::MTqueue_::Jobq_::operator< ( const Jobq_ & Rhs ) const [inline]
 

Definition at line 134 of file MTqueue.hh.

bool RazorBack::MTqueue_::Jobq_::empty ( ) const [inline]
 

Definition at line 138 of file MTqueue.hh.


Member Data Documentation

MTjobbase_ * RazorBack::MTqueue_::Jobq_::Jobptr
 

base ptr to somebody's job.

Definition at line 125 of file MTqueue.hh.

Semaphore_ * RazorBack::MTqueue_::Jobq_::Doneptr
 

points to a semaphore to be signalled upon job completion.

Definition at line 126 of file MTqueue.hh.


The documentation for this struct was generated from the following file:
Generated at Wed Aug 21 09:33:34 2002 for The Razorback C++ Library: POSIX Thread Wrappers by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001