tree: 99d6a0b44b03a100ad1515851ca81ae9053c4335 [path history] [tgz]
  1. sequence_manager/
  2. task_scheduler/
  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. OWNERS
  10. post_task.cc
  11. post_task.h
  12. post_task_unittest.cc
  13. README.md
  14. scoped_set_task_priority_for_current_thread.cc
  15. scoped_set_task_priority_for_current_thread.h
  16. scoped_set_task_priority_for_current_thread_unittest.cc
  17. single_thread_task_runner_thread_mode.h
  18. task_executor.cc
  19. task_executor.h
  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: