Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Improve context for thread identity in scheduling #86379

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions doc/kernel/services/scheduling/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ The scheduler determines which thread is allowed to execute
at any point in time; this thread is known as the **current thread**.

There are various points in time when the scheduler is given an
opportunity to change the identity of the current thread. These points
are called **reschedule points**. Some potential reschedule points are:
opportunity to change the identity of the current thread, meaning
when the scheduler switches the CPU's execution from one thread
to another. These points are called **reschedule points**.
Some potential reschedule points are:

- transition of a thread from running state to a suspended or waiting
state, for example by :c:func:`k_sem_take` or :c:func:`k_sleep`.
Expand Down