tree: 717f90f16454cf4e019b6675a0265e624d3cf4a9 [path history] [tgz]
  1. common/
  2. sequence_manager/
  3. thread_pool/
  4. cancelable_task_tracker.cc
  5. cancelable_task_tracker.h
  6. cancelable_task_tracker_unittest.cc
  7. current_thread.cc
  8. current_thread.h
  9. job_perftest.cc
  10. lazy_thread_pool_task_runner.cc
  11. lazy_thread_pool_task_runner.h
  12. lazy_thread_pool_task_runner_unittest.cc
  13. OWNERS
  14. post_job.cc
  15. post_job.h
  16. post_job_unittest.cc
  17. post_task.cc
  18. post_task.h
  19. post_task_unittest.cc
  20. README.md
  21. scoped_set_task_priority_for_current_thread.cc
  22. scoped_set_task_priority_for_current_thread.h
  23. scoped_set_task_priority_for_current_thread_unittest.cc
  24. simple_task_executor.cc
  25. simple_task_executor.h
  26. single_thread_task_executor.cc
  27. single_thread_task_executor.h
  28. single_thread_task_executor_unittest.cc
  29. single_thread_task_runner_thread_mode.h
  30. task_executor.cc
  31. task_executor.h
  32. task_features.cc
  33. task_features.h
  34. task_observer.h
  35. task_traits.cc
  36. task_traits.h
  37. task_traits_extension.h
  38. task_traits_extension_unittest.cc
  39. task_traits_extension_unittest.nc
  40. task_traits_unittest.cc
  41. task_traits_unittest.nc
  42. test_task_traits_extension.cc
  43. test_task_traits_extension.h
  44. thread_pool.cc
  45. thread_pool.h
  46. 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: