Skip to content

Commit 4f0b8d0

Browse files
rlneumillerkartben
authored andcommitted
doc: Improve context for thread identity in scheduling
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]> doc: Improve context for thread identity in scheduling 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]>
1 parent 20b1f8a commit 4f0b8d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/kernel/services/scheduling/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ The scheduler determines which thread is allowed to execute
1313
at any point in time; this thread is known as the **current thread**.
1414

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

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

0 commit comments

Comments
 (0)