#include <Threads.h>
| void CThreadPool::addJob |
( |
CJob * |
job | ) |
|
Add a job to the thread pool and run it. The job will be deleted when done.
| void CThreadPool::cancelJob |
( |
CJob * |
job | ) |
|
Cancel a job that was previously passed to addJob().
This might mean that runThread() and/or runMain() will not be called on the job. This function BLOCKS until the job finishes!
| void CThreadPool::cancelJobs |
( |
const std::set< CJob * > & |
jobs | ) |
|
Cancel some jobs that were previously passed to addJob().
This might mean that runThread() and/or runMain() will not be called on some of the jobs. This function BLOCKS until all jobs finish!
| int CThreadPool::getReadFD |
( |
| ) |
const |
|
inline |
| void CThreadPool::handlePipeReadable |
( |
| ) |
const |
The documentation for this class was generated from the following file: