Google Git
Sign in
chromium / codesearch / chromium / src / refs/tags/79.0.3907.0 / . / base / task
tree: a46b1a483c780a138148857ed397a390415d2f33 [path history] [tgz]
  1. common/
  2. promise/
  3. sequence_manager/
  4. thread_pool/
  5. cancelable_task_tracker.cc
  6. cancelable_task_tracker.h
  7. cancelable_task_tracker_unittest.cc
  8. lazy_task_runner.cc
  9. lazy_task_runner.h
  10. lazy_task_runner_unittest.cc
  11. OWNERS
  12. post_job.cc
  13. post_job.h
  14. post_task.cc
  15. post_task.h
  16. post_task_unittest.cc
  17. README.md
  18. scoped_set_task_priority_for_current_thread.cc
  19. scoped_set_task_priority_for_current_thread.h
  20. scoped_set_task_priority_for_current_thread_unittest.cc
  21. single_thread_task_executor.cc
  22. single_thread_task_executor.h
  23. single_thread_task_runner_thread_mode.h
  24. task_executor.cc
  25. task_executor.h
  26. task_features.cc
  27. task_features.h
  28. task_observer.h
  29. task_traits.cc
  30. task_traits.h
  31. task_traits_extension.h
  32. task_traits_extension_unittest.cc
  33. task_traits_extension_unittest.nc
  34. task_traits_unittest.cc
  35. task_traits_unittest.nc
  36. test_task_traits_extension.cc
  37. test_task_traits_extension.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.

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:

  • Threading and tasks
  • Callbacks
  • Vision for future API changes
Powered by Gitiles| Privacy| Termstxt json