![]() |
My Project
|
Public Member Functions | |
| Job () | |
| ~Job () | |
| void | addDep (Job *job) |
| void | addDep (vector< Job * > &jobs) |
| void | addDep (long ndeps, Job **jobs) |
| void | addNotify (vector< Job * > &jobs) |
| void | addNotify (Job *job) |
| virtual bool | ready () |
| virtual void | execute ()=0 |
| void | run () |
Public Member Functions inherited from LibThread::SharedObject | |
| SharedObject () | |
| virtual | ~SharedObject () |
| void | set_type (int type_init) |
| int | get_type () |
| void | set_name (std::string &name_init) |
| void | set_name (const char *s) |
| std::string & | get_name () |
| void | incref (int by=1) |
| long | decref () |
| long | getref () |
| virtual BOOLEAN | op2 (int op, leftv res, leftv a1, leftv a2) |
| virtual BOOLEAN | op3 (int op, leftv res, leftv a1, leftv a2, leftv a3) |
Data Fields | |
| ThreadPool * | pool |
| long | prio |
| size_t | id |
| long | pending_index |
| vector< Job * > | deps |
| vector< Job * > | notify |
| vector< Trigger * > | triggers |
| vector< string > | args |
| string | result |
| void * | data |
| bool | fast |
| bool | done |
| bool | queued |
| bool | running |
| bool | cancelled |
| LibThread::Job::~Job | ( | ) |
|
inline |
| void LibThread::Job::addDep | ( | long | ndeps, |
| Job ** | jobs | ||
| ) |
| void LibThread::Job::addDep | ( | vector< Job * > & | jobs | ) |
| void LibThread::Job::addNotify | ( | Job * | job | ) |
Definition at line 1975 of file shared.cc.
| void LibThread::Job::addNotify | ( | vector< Job * > & | jobs | ) |
|
pure virtual |
|
virtual |
Reimplemented in LibThread::AccTrigger, LibThread::CountTrigger, LibThread::SetTrigger, and LibThread::ProcTrigger.
| void LibThread::Job::run | ( | ) |
| ThreadPool* LibThread::Job::pool |