A simple synchronous JobServer class that just runs each job immediately when it is submitted. More...
#include <Util/SyncJobServer.H>
Public Member Functions | |
virtual | ~SyncJobServer () |
Virtual destructor. | |
virtual void | enqueueJob (const rutz::shared_ptr< Job > &job) |
Submit a job and run it immediately. | |
virtual unsigned int | getParallelismHint () |
Returns 1. |
A simple synchronous JobServer class that just runs each job immediately when it is submitted.
Definition at line 44 of file SyncJobServer.H.
SyncJobServer::~SyncJobServer | ( | ) | [virtual] |
Virtual destructor.
Definition at line 44 of file SyncJobServer.C.
void SyncJobServer::enqueueJob | ( | const rutz::shared_ptr< Job > & | job | ) | [virtual] |
Submit a job and run it immediately.
Implements JobServer.
Definition at line 48 of file SyncJobServer.C.
unsigned int SyncJobServer::getParallelismHint | ( | ) | [virtual] |