Lines Matching defs:tasks
59 explicit DelayedTaskScheduler(TaskQueue<Task>* tasks)
60 : pending_worker_tasks_(tasks) {}
254 // V8 may post tasks during Isolate disposal. In that case, the only
265 // V8 may post tasks during Isolate disposal. In that case, the only
300 // While there should be no V8 tasks in the queues at this point, it is
301 // possible that Node.js-internal tasks from e.g. the inspector are still
303 // effectively deleting the tasks instead of running them.
309 // flush_tasks_ handle add tasks to the event loop. We keep a count of all
455 // Worker tasks aren't associated with an Isolate.
486 // Move all foreground tasks into a separate queue and flush that queue.
487 // This way tasks that are posted while flushing the queue will be run on the
489 std::queue<std::unique_ptr<Task>> tasks = foreground_tasks_.PopAll();
490 while (!tasks.empty()) {
491 std::unique_ptr<Task> task = std::move(tasks.front());
492 tasks.pop();