Group of Worker threads.
More...
#include <Gang.h>
|
|
BWORD | start (sp< Counted > a_spObject=sp< Counted >(NULL), U32 a_threads=0, String a_stage="") |
| |
|
void | finish (void) |
| |
|
U32 | workers (void) const |
| |
|
void | post (T job) |
| |
|
void | post (T first_job, T last_job) |
| |
|
BWORD | take (T &job) |
| |
|
void | waitForJob (T &job) |
| |
|
void | deliver (T job) |
| |
|
BWORD | acceptDelivery (T &job) |
| |
|
void | waitForDelivery (T &job) |
| |
| BWORD | synchronize (BWORD a_supervised=FALSE) |
| | waits until all threads call sync More...
|
| |
|
void | relayException (const Exception &a_rException) |
| |
|
void | resolveException (void) |
| |
Public Member Functions inherited from fe::Handled< JobQueue< T > > |
| const hp< JobQueue< T > > & | getHandle (void) const |
| | Get a safe handle to this object. More...
|
| |
|
virtual I32 | protection (void) const |
| |
|
virtual void | protect (void) |
| |
|
virtual void | unprotect (void) |
| |
|
virtual Protectable * | clone (Protectable *pInstance=NULL) |
| |
| virtual void | acquire (void) |
| | Increment the reference count. More...
|
| |
| virtual void | acquire (int &rCount) |
| | Increment the reference count (and get the count) More...
|
| |
| virtual void | release (void) |
| | Decrement the reference count. More...
|
| |
| virtual void | abandon (void) |
| | Decrement the reference count. More...
|
| |
| int | count (void) const |
| | Return the count of references. More...
|
| |
|
void | setName (const String &) |
| |
|
void | trackReference (void *pReference, String what) |
| |
|
void | untrackReference (void *pReference) |
| |
|
void | registerRegion (void *pT, U32 bytes) |
| |
|
|
void | discardWorkers (void) |
| |
|
|
Thread::Group * | m_pGroup |
| |
|
Thread ** | m_ppThread |
| |
|
WORKER ** | m_ppWorker |
| |
template<typename WORKER, typename T>
class fe::ext::Gang< WORKER, T >
Group of Worker threads.
The documentation for this class was generated from the following file: