Static Public Member Functions |
| static size_t | getId () |
Constructor & Destructor Documentation
| DtAsyncJobServer::DtAsyncJobServer |
( |
| ) |
|
Member Function Documentation
| const DtAsyncJobResult* DtAsyncJobServer::lookupAsyncJobResult |
( |
size_t |
id | ) |
const |
This call may block if the associated job is actually executing.
To get a non-blocking call make sure the status of the DtAsyncToken is "complete" before making this call.
| virtual void DtAsyncJobServer::cancelJob |
( |
size_t |
id | ) |
|
|
virtual |
| virtual void DtAsyncJobServer::cancelAllJobs |
( |
| ) |
|
|
virtual |
| bool DtAsyncJobServer::empty |
( |
| ) |
|
| static size_t DtAsyncJobServer::getId |
( |
| ) |
|
|
static |
| virtual void DtAsyncJobServer::markForRemoval |
( |
size_t |
id | ) |
|
|
virtual |
Adds the id to myJobsToRemove.
The entries for these ids will be removed by cleanUpJobs().
| virtual void DtAsyncJobServer::cleanUpJobs |
( |
| ) |
|
|
virtual |
| virtual bool DtAsyncJobServer::accessor |
( |
DtAsyncJobMap::accessor & |
a, |
|
|
size_t |
id |
|
) |
| |
|
virtual |
| virtual void DtAsyncJobServer::printAsyncJobMap |
( |
| ) |
|
|
virtual |
Prints async job IDs and status.
Member Data Documentation
| tbb::mutex DtAsyncJobServer::theIdGenMutex |
|
staticprotected |
| size_t DtAsyncJobServer::theNextId |
|
staticprotected |
| tbb::mutex DtAsyncJobServer::theJobRemovalQueueMutex |
|
staticprotected |
| std::list<size_t> DtAsyncJobServer::myJobsToRemove |
|
protected |
The documentation for this class was generated from the following file: