Lines Matching refs:Task
36 * A Task represents a unit of work.
38 class Task {
40 virtual ~Task() {}
54 * This enum is used to indicate whether a task is potentially long running,
56 * whether to execute the task on a dedicated thread.
64 * Schedules a task to be invoked on a background thread. |expected_runtime|
65 * indicates that the task will run a long time. The Platform implementation
66 * takes ownership of |task|. There is no guarantee about order of execution
68 * thread the task will be run on.
70 virtual void CallOnBackgroundThread(Task* task,
74 * Schedules a task to be invoked on a foreground thread wrt a specific
78 virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;