tree: ae911469c3516e67e1c80ead84b8e2f7f7d6f877 [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. post_task.cc
  10. post_task.h
  11. post_task_unittest.cc
  12. README.md
  13. scoped_set_task_priority_for_current_thread.cc
  14. scoped_set_task_priority_for_current_thread.h
  15. scoped_set_task_priority_for_current_thread_unittest.cc
  16. single_thread_task_runner_thread_mode.h
  17. task_executor.cc
  18. task_executor.h
  19. task_traits.cc
  20. task_traits.h
  21. task_traits_details.h
  22. task_traits_extension.h
  23. task_traits_extension_unittest.cc
  24. task_traits_extension_unittest.nc
  25. task_traits_unittest.cc
  26. task_traits_unittest.nc
  27. test_task_traits_extension.cc
  28. 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: