tree: 528f47b81274b3d0525f89b87281b4516577009b [path history] [tgz]
  1. OWNERS
  2. README.md
  3. cancelable_task_tracker.cc
  4. cancelable_task_tracker.h
  5. cancelable_task_tracker_unittest.cc
  6. lazy_task_runner.cc
  7. lazy_task_runner.h
  8. lazy_task_runner_unittest.cc
  9. post_task.cc
  10. post_task.h
  11. post_task_unittest.cc
  12. scoped_set_task_priority_for_current_thread.cc
  13. scoped_set_task_priority_for_current_thread.h
  14. scoped_set_task_priority_for_current_thread_unittest.cc
  15. sequence_manager/
  16. single_thread_task_runner_thread_mode.h
  17. task_executor.cc
  18. task_executor.h
  19. task_scheduler/
  20. task_traits.cc
  21. task_traits.h
  22. task_traits_details.h
  23. task_traits_extension.h
  24. task_traits_extension_unittest.cc
  25. task_traits_extension_unittest.nc
  26. task_traits_unittest.cc
  27. task_traits_unittest.nc
  28. test_task_traits_extension.cc
  29. test_task_traits_extension.h
base/task/README.md

This directory has the following layout:

  • base/task/: public APIs for posting tasks and managing task queues.
  • base/task/task_scheduler/: implementation of the TaskScheduler.
  • base/task/sequence_manager/: implementation of the SequenceManager.

Apart from embedders explicitly managing a TaskScheduler and/or SequenceManager instance(s) for their process/threads, the vast majority of users should only need APIs in base/task/.

Documentation: