README.md
1# Blink Scheduler
2
3This directory contains the Blink Scheduler, which coordinates task execution
4in renderer processes. The main subdirectories are:
5
6- `public` -- contains the interfaces which scheduler exposes to the other parts
7 of Blink (`FrameScheduler`, `PageScheduler`, `WorkerScheduler` and others).
8 Other code in Blink should not depend on files outside of this directory.
9- `common` -- contains `ThreadSchedulerImpl` which is the base class for all
10 thread schedulers, as well as other functionality which is required for both
11 main thread and worker threads.
12- `main_thread` -- contains implementation of the main thread scheduler
13 (`MainThreadSchedulerImpl`) and main thread scheduling policies.
14- `worker` -- contains implementation of scheduling infrastructure for
15 the non-main threads (compositor thread, worker threads).
16
17The scheduler exposes an API to the content layer at
18`public/platform/scheduler`.
19
20# Further reading
21
22[Overview of task scheduling in Blink](TaskSchedulingInBlink.md).
23[Collection of scheduling-related documentation](links.md).
24
25