• Home
  • Raw
  • Download

Lines Matching full:tasks

44 // The task scheduler doesn't create threads until Start() is called. Tasks can
87 // Allows the task scheduler to create threads and run tasks following the
100 // For one off tasks that don't require a TaskRunner.
106 // Returns a TaskRunner whose PostTask invocations result in scheduling tasks
107 // using |traits|. Tasks may run in any order and in parallel.
112 // scheduling tasks using |traits|. Tasks run one at a time in posting order.
117 // scheduling tasks using |traits|. Tasks run on a single thread in posting
126 // scheduling tasks using |traits| in a COM Single-Threaded Apartment. Tasks
142 // Synchronously shuts down the scheduler. Once this is called, only tasks
144 // - All SKIP_ON_SHUTDOWN tasks that were already running have completed their
146 // - All posted BLOCK_SHUTDOWN tasks have completed their execution.
147 // - CONTINUE_ON_SHUTDOWN tasks might still be running.
153 // Waits until there are no pending undelayed tasks. May be called in tests
154 // to validate that a condition is met after all undelayed tasks have run.
156 // Does not wait for delayed tasks. Waits for undelayed tasks posted from
161 // tasks. |flush_callback| may be called back on any thread and should not
167 // Joins all threads. Tasks that are already running are allowed to complete
169 // instance to create task runners or post tasks is not permitted during or
174 // TaskScheduler to handle tasks posted through the post_task.h API for this
178 // need to allow tasks to be posted before the TaskScheduler creates its
205 // Start() is called. Tasks can be posted at any time but will not run until
210 // Registers |task_scheduler| to handle tasks posted through the post_task.h
232 // Returns the maximum number of non-single-threaded non-blocked tasks posted
236 // Do not use this method. To process n items, post n tasks that each process
238 // tasks that each process