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