naiveproxy/src/base/task
2022-05-29 18:11:59 +08:00
..
common Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
sequence_manager Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
thread_pool Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
bind_post_task_internal.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
bind_post_task.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
cancelable_task_tracker.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
cancelable_task_tracker.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
current_thread.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
current_thread.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
default_delayed_task_handle_delegate.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
default_delayed_task_handle_delegate.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
deferred_sequenced_task_runner.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
deferred_sequenced_task_runner.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
delay_policy.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
delayed_task_handle.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
delayed_task_handle.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
DIR_METADATA Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
lazy_thread_pool_task_runner.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
lazy_thread_pool_task_runner.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
OWNERS Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
post_job.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
post_job.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
post_task_and_reply_with_result_internal.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
post_task.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
post_task.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
README.md Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
scoped_set_task_priority_for_current_thread.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
scoped_set_task_priority_for_current_thread.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
sequenced_task_runner_helpers.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
sequenced_task_runner.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
sequenced_task_runner.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
simple_task_executor.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
simple_task_executor.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
single_thread_task_executor.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
single_thread_task_executor.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
single_thread_task_runner_thread_mode.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
single_thread_task_runner.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_executor.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_executor.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_features.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_features.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_observer.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_runner_util.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_runner.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_runner.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_traits_extension.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_traits.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
task_traits.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
test_task_traits_extension.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
test_task_traits_extension.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
thread_pool.cc Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
thread_pool.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
updateable_sequenced_task_runner.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00

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: