tree: ea449c2fecba8a2ca206ca481fa3640c09947bfb [path history] [tgz]
  1. common/
  2. sequence_manager/
  3. thread_pool/
  4. bind_post_task.h
  5. bind_post_task_internal.h
  6. bind_post_task_unittest.cc
  7. bind_post_task_unittest.nc
  8. cancelable_task_tracker.cc
  9. cancelable_task_tracker.h
  10. cancelable_task_tracker_unittest.cc
  11. current_thread.cc
  12. current_thread.h
  13. default_delayed_task_handle_delegate.cc
  14. default_delayed_task_handle_delegate.h
  15. default_delayed_task_handle_delegate_unittest.cc
  16. deferred_sequenced_task_runner.cc
  17. deferred_sequenced_task_runner.h
  18. deferred_sequenced_task_runner_unittest.cc
  19. delay_policy.h
  20. delayed_task_handle.cc
  21. delayed_task_handle.h
  22. delayed_task_handle_unittest.cc
  23. DIR_METADATA
  24. job_perftest.cc
  25. lazy_thread_pool_task_runner.cc
  26. lazy_thread_pool_task_runner.h
  27. lazy_thread_pool_task_runner_unittest.cc
  28. post_job.cc
  29. post_job.h
  30. post_job_unittest.cc
  31. post_task_and_reply_with_result_internal.h
  32. README.md
  33. scoped_set_task_priority_for_current_thread.cc
  34. scoped_set_task_priority_for_current_thread.h
  35. scoped_set_task_priority_for_current_thread_unittest.cc
  36. sequenced_task_runner.cc
  37. sequenced_task_runner.h
  38. sequenced_task_runner_helpers.h
  39. sequenced_task_runner_unittest.cc
  40. simple_task_executor.cc
  41. simple_task_executor.h
  42. single_thread_task_executor.cc
  43. single_thread_task_executor.h
  44. single_thread_task_executor_unittest.cc
  45. single_thread_task_runner.h
  46. single_thread_task_runner_thread_mode.h
  47. task_executor.cc
  48. task_executor.h
  49. task_features.cc
  50. task_features.h
  51. task_observer.h
  52. task_runner.cc
  53. task_runner.h
  54. task_runner_unittest.cc
  55. task_runner_util.h
  56. task_runner_util_unittest.cc
  57. task_traits.cc
  58. task_traits.h
  59. task_traits_extension.h
  60. task_traits_extension_unittest.cc
  61. task_traits_extension_unittest.nc
  62. task_traits_unittest.cc
  63. task_traits_unittest.nc
  64. test_task_traits_extension.cc
  65. test_task_traits_extension.h
  66. thread_pool.cc
  67. thread_pool.h
  68. thread_pool_unittest.cc
  69. updateable_sequenced_task_runner.h
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.
  • base/task/common/: implementation details shared by ThreadPool and 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: