Lines Matching defs:job
133 virtual bool FilterJob(Job* job)
135 AbstractVolumeJob* volumeJob = dynamic_cast<AbstractVolumeJob*>(job);
176 // init members and spawn job runner thread
185 fJobRunner = spawn_thread(&_JobRunnerEntry, "job runner", B_NORMAL_PRIORITY,
240 // queue a job for reading the volume's packages
267 // Use the job queue to delete the volume to make sure there aren't any
330 // job thread. But only queue a job, if there aren't package jobs
343 CommitTransactionJob* job = new(std::nothrow) CommitTransactionJob(
345 if (job == NULL)
350 _QueueJob(job);
489 Root::_QueueJob(Job* job)
491 if (job == NULL)
494 BReference<Job> jobReference(job, true);
495 if (!fJobQueue.QueueJob(job)) {
496 // job queue already closed
514 while (Job* job = fJobQueue.DequeueJob()) {
515 job->Do();
516 job->ReleaseReference();