xref: /aosp_15_r20/external/cronet/base/task/README.md (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1This directory has the following layout:
2- base/task/: public APIs for posting tasks and managing task queues.
3- base/task/thread_pool/: implementation of the ThreadPool.
4- base/task/sequence_manager/: implementation of the SequenceManager.
5- base/task/common/: implementation details shared by ThreadPool and
6  SequenceManager.
7
8Apart from embedders explicitly managing a ThreadPoolInstance and/or
9SequenceManager instance(s) for their process/threads, the vast majority of
10users should only need APIs in base/task/.
11
12Documentation:
13
14* [Threading and tasks](/docs/threading_and_tasks.md)
15* [Callbacks](/docs/callback.md)
16* [Vision for future API changes](https://docs.google.com/document/d/1pySz2xeJ6kLlbzDnS2jqAC1F8T_6pLEV8pgaMfURXAw/edit)
17