.. | ||
common | ||
sequence_manager | ||
thread_pool | ||
cancelable_task_tracker.cc | ||
cancelable_task_tracker.h | ||
lazy_thread_pool_task_runner.cc | ||
lazy_thread_pool_task_runner.h | ||
OWNERS | ||
post_job.cc | ||
post_job.h | ||
post_task.cc | ||
post_task.h | ||
README.md | ||
scoped_set_task_priority_for_current_thread.cc | ||
scoped_set_task_priority_for_current_thread.h | ||
simple_task_executor.cc | ||
simple_task_executor.h | ||
single_thread_task_executor.cc | ||
single_thread_task_executor.h | ||
single_thread_task_runner_thread_mode.h | ||
task_executor.cc | ||
task_executor.h | ||
task_features.cc | ||
task_features.h | ||
task_observer.h | ||
task_traits_extension.h | ||
task_traits.cc | ||
task_traits.h | ||
test_task_traits_extension.cc | ||
test_task_traits_extension.h | ||
thread_pool.cc | ||
thread_pool.h |
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: