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