Lines Matching defs:task
28 #include "src/tasks/cancelable-task.h"
29 #include "src/tasks/task-utils.h"
60 LazyCompileDispatcher::Job::Job(std::unique_ptr<BackgroundCompileTask> task)
61 : task(std::move(task)), state(Job::State::kPending) {}
167 // Post a a background worker task to perform the compilation on the worker
270 job->task->RunOnMainThread(isolate_);
285 job->task.get(), isolate_, Compiler::KEEP_EXCEPTION);
337 job->task->AbortFunction();
350 job->task->AbortFunction();
356 job->task->AbortFunction();
393 // TODO(leszeks): Using a full task manager for a single cancellable task is
432 job->task->Run(&isolate, &reusable_state);
438 // Schedule an idle task to finalize the compilation on the main thread
502 Compiler::FinalizeBackgroundCompileTask(job->task.get(), isolate_,
506 job->task->AbortFunction();