tree: 2ade63e715d15e8bee60bbd38d25ca3c219b4068 [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. common/
  7. job_perftest.cc
  8. lazy_thread_pool_task_runner.cc
  9. lazy_thread_pool_task_runner.h
  10. lazy_thread_pool_task_runner_unittest.cc
  11. post_job.cc
  12. post_job.h
  13. post_job_unittest.cc
  14. post_task.cc
  15. post_task.h
  16. post_task_unittest.cc
  17. scoped_set_task_priority_for_current_thread.cc
  18. scoped_set_task_priority_for_current_thread.h
  19. scoped_set_task_priority_for_current_thread_unittest.cc
  20. sequence_manager/
  21. simple_task_executor.cc
  22. simple_task_executor.h
  23. single_thread_task_executor.cc
  24. single_thread_task_executor.h
  25. single_thread_task_executor_unittest.cc
  26. single_thread_task_runner_thread_mode.h
  27. task_executor.cc
  28. task_executor.h
  29. task_features.cc
  30. task_features.h
  31. task_observer.h
  32. task_traits.cc
  33. task_traits.h
  34. task_traits_extension.h
  35. task_traits_extension_unittest.cc
  36. task_traits_extension_unittest.nc
  37. task_traits_unittest.cc
  38. task_traits_unittest.nc
  39. test_task_traits_extension.cc
  40. test_task_traits_extension.h
  41. thread_pool.cc
  42. thread_pool.h
  43. thread_pool/
  44. thread_pool_unittest.cc
base/task/README.md

This directory has the following layout:

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

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

Documentation: