Archon::Utilities::Job::Queue Struct Reference

A queue of jobs that owns a set of threads for executing the jobs concurrently. More...

#include <archon/util/job.H>

Collaboration diagram for Archon::Utilities::Job::Queue:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Queue (int maxThreads=8, Time maxIdleTime=Time(10.0))
 ~Queue ()
 Waits for all jobs to complete.
void add (Ref< Job >)
void cancel (Ref< Job >)
void wait ()
 Wait for all jobs to complete.

Detailed Description

A queue of jobs that owns a set of threads for executing the jobs concurrently.

Definition at line 50 of file job.H.


Member Function Documentation

void Archon::Utilities::Job::Queue::cancel Ref< Job  ) 
 

Otherwise just remove it from the queue.

Definition at line 167 of file job.C.

References Archon::SaiTestApps::Filebrowser::mutex, and Archon::Utilities::Mutex::Lock::release().


The documentation for this struct was generated from the following files:
Generated on Sun Jul 30 22:57:29 2006 for Archon by  doxygen 1.4.4