Skip to content

Commit

Permalink
doc: Improve context for thread identity in scheduling
Browse files Browse the repository at this point in the history
Enhance the description around reschedule points to provide more
context about the current thread's identity. This update clarifies
that changing the identity of the current thread involves switching
the CPU's execution from one thread to another.

Signed-off-by: Arrel Neumiller <[email protected]>
  • Loading branch information
rlneumiller committed Feb 26, 2025
1 parent c7a9cd5 commit e164171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/kernel/services/scheduling/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Concepts
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
There are various points in time when the scheduler is given an
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**.
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
Expand Down

0 comments on commit e164171

Please sign in to comment.