Home | History | Annotate | Download | only in include

Lines Matching defs:Task

18  * A Task represents a unit of work.
20 class Task {
22 virtual ~Task() = default;
31 * The idle task is expected to complete by this deadline.
64 * This enum is used to indicate whether a task is potentially long running,
66 * whether to execute the task on a dedicated thread.
85 * Schedules a task to be invoked on a background thread. |expected_runtime|
86 * indicates that the task will run a long time. The Platform implementation
87 * takes ownership of |task|. There is no guarantee about order of execution
89 * thread the task will be run on.
91 virtual void CallOnBackgroundThread(Task* task,
95 * Schedules a task to be invoked on a foreground thread wrt a specific
99 virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;
102 * Schedules a task to be invoked on a foreground thread wrt a specific
107 virtual void CallDelayedOnForegroundThread(Isolate* isolate, Task* task,
111 * Schedules a task to be invoked on a foreground thread wrt a specific
114 * Idle tasks may be reordered relative to other task types and may be
118 virtual void CallIdleOnForegroundThread(Isolate* isolate, IdleTask* task) {