Definition at line 1544 of file shared.cc.
◆ Job()
Definition at line 1561 of file shared.cc.
vector< Trigger * > triggers
void set_type(int type_init)
◆ ~Job()
Definition at line 1608 of file shared.cc.
1608 {
1609 vector<Job *>::iterator it;
1610 for (it =
deps.begin(); it !=
deps.end(); it++) {
1612 }
1613}
void releaseShared(SharedObject *obj)
◆ addDep() [1/3]
void LibThread::Job::addDep |
( |
Job * | job | ) |
|
|
inline |
◆ addDep() [2/3]
void LibThread::Job::addDep |
( |
long | ndeps, |
|
|
Job ** | jobs ) |
Definition at line 1957 of file shared.cc.
1957 {
1958 for (
long i = 0;
i < ndeps;
i++) {
1959 deps.push_back(jobs[
i]);
1960 }
1961}
◆ addDep() [3/3]
void LibThread::Job::addDep |
( |
vector< Job * > & | jobs | ) |
|
Definition at line 1953 of file shared.cc.
1953 {
1954 deps.insert(
deps.end(), jobs.begin(), jobs.end());
1955}
◆ addNotify() [1/2]
void LibThread::Job::addNotify |
( |
Job * | job | ) |
|
Definition at line 1970 of file shared.cc.
1970 {
1974 }
1975}
static void notifyDeps(Scheduler *scheduler, Job *job)
◆ addNotify() [2/2]
void LibThread::Job::addNotify |
( |
vector< Job * > & | jobs | ) |
|
◆ execute()
virtual void LibThread::Job::execute |
( |
| ) |
|
|
pure virtual |
◆ ready()
bool LibThread::Job::ready |
( |
| ) |
|
|
virtual |
◆ run()
void LibThread::Job::run |
( |
| ) |
|
Definition at line 1977 of file shared.cc.
1977 {
1980 pool->scheduler->lock.unlock();
1981 pool->scheduler->running++;
1983 pool->scheduler->running--;
1984 pool->scheduler->lock.lock();
1986 }
1988}
◆ args
vector<string> LibThread::Job::args |
◆ cancelled
bool LibThread::Job::cancelled |
◆ data
void* LibThread::Job::data |
◆ deps
vector<Job *> LibThread::Job::deps |
◆ done
bool LibThread::Job::done |
◆ fast
bool LibThread::Job::fast |
◆ id
size_t LibThread::Job::id |
◆ notify
vector<Job *> LibThread::Job::notify |
◆ pending_index
long LibThread::Job::pending_index |
◆ pool
◆ prio
long LibThread::Job::prio |
◆ queued
bool LibThread::Job::queued |
◆ result
string LibThread::Job::result |
◆ running
bool LibThread::Job::running |
◆ triggers
vector<Trigger *> LibThread::Job::triggers |
The documentation for this class was generated from the following file: