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

RazorBack Namespace Reference


Compounds

class  RazorBack::MTmgrbase_
 Class MTmgrbase_: abstract base class for the management of threads. More...

class  RazorBack::MTmgrjoin_
 Class MTmgrjoin_: manages joinable threads. More...

class  RazorBack::MTmgrdetach_
 Class MTmgrdetach_: class for launching detached threads. More...

class  RazorBack::MTmgrexc_
 Exception class for MTmgr. More...

class  RazorBack::MTjobbase_
 Class MTjobbase_: abstract base class for job objects. More...

class  RazorBack::MTqueue_
 Class MTqueue_: this class sets up a priority queue that pipes "jobs" to a set of working threads. More...

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

class  RazorBack::Mutex_
 Class Mutex_: wrapper class for POSIX mutexes. More...

class  RazorBack::Condvar_
 Class Condvar_: wrapper class for condition variables. More...

class  RazorBack::Semaphore_
 Semaphore_: wrapper class for POSIX thread semaphores. More...


Typedefs

typedef void* (* Threadstartfn_ )(void *)
 Threadstartfn_: signature of a global C function where a newly launched thread starts executing.


Functions

void* MTqueue_start_workthread (void *Qptr)
 MTqueue_start_workthread(Qptr): this is a global C function that must be executed by the "working threads" that process the jobs submitted to the queue. More...


Typedef Documentation

typedef void *(* RazorBack::Threadstartfn_)(void *)
 

Threadstartfn_: signature of a global C function where a newly launched thread starts executing.

Definition at line 52 of file MTmgr.hh.


Function Documentation

void * RazorBack::MTqueue_start_workthread ( void * Qptr )
 

MTqueue_start_workthread(Qptr): this is a global C function that must be executed by the "working threads" that process the jobs submitted to the queue.

The working threads run indefinitely if not cancelled explicitly, so launch them via MTmgrdetach_ as detached threads. The MTqueue object supplying the jobs is pointed to by Qptr; type safety cannot be guaranteed here, be careful! Returns NULL when the thread finished.


Generated at Wed Aug 21 09:33:36 2002 for The Razorback C++ Library: POSIX Thread Wrappers by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001