Lines Matching refs:Task
15 using v8::Task;
20 TaskQueue<Task>* task_queue;
31 TaskQueue<Task>* pending_worker_tasks = worker_data->task_queue; in PlatformWorkerThread()
42 while (std::unique_ptr<Task> task = pending_worker_tasks->BlockingPop()) { in PlatformWorkerThread()
59 explicit DelayedTaskScheduler(TaskQueue<Task>* tasks) in DelayedTaskScheduler()
74 void PostDelayedTask(std::unique_ptr<Task> task, double delay_in_seconds) { in PostDelayedTask()
102 while (std::unique_ptr<Task> task = scheduler->tasks_.Pop()) in FlushTasks()
106 class StopTask : public Task {
124 class ScheduleTask : public Task {
127 std::unique_ptr<Task> task, in ScheduleTask()
144 std::unique_ptr<Task> task_;
154 std::unique_ptr<Task> TakeTimerTask(uv_timer_t* timer) { in TakeTimerTask()
155 std::unique_ptr<Task> task(static_cast<Task*>(timer->data)); in TakeTimerTask()
165 TaskQueue<Task>* pending_worker_tasks_;
167 TaskQueue<Task> tasks_;
204 void WorkerThreadsTaskRunner::PostTask(std::unique_ptr<Task> task) { in PostTask()
208 void WorkerThreadsTaskRunner::PostDelayedTask(std::unique_ptr<Task> task, in PostDelayedTask()
252 void PerIsolatePlatformData::PostTask(std::unique_ptr<Task> task) { in PostTask()
263 std::unique_ptr<Task> task, double delay_in_seconds) { in PostDelayedTask()
277 void PerIsolatePlatformData::PostNonNestableTask(std::unique_ptr<Task> task) { in PostNonNestableTask()
282 std::unique_ptr<Task> task, in PostNonNestableDelayedTask()
417 void PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<Task> task) { in RunForegroundTask()
489 std::queue<std::unique_ptr<Task>> tasks = foreground_tasks_.PopAll(); in FlushForegroundTasksInternal()
491 std::unique_ptr<Task> task = std::move(tasks.front()); in FlushForegroundTasksInternal()
499 void NodePlatform::CallOnWorkerThread(std::unique_ptr<Task> task) { in CallOnWorkerThread()
503 void NodePlatform::CallDelayedOnWorkerThread(std::unique_ptr<Task> task, in CallDelayedOnWorkerThread()