doc: kernel: threads: fix idle thread priority documentation
Clarify that the idle thread has priority CONFIG_NUM_PREEMPT_PRIORITIES, not (CONFIG_NUM_PREEMPT_PRIORITIES - 1). The idle thread priority ranges from 0 to 127 and never has a cooperative thread priority. Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
This commit is contained in:
parent
e3897f0322
commit
b9ee6af4fe
2 changed files with 2 additions and 5 deletions
4
doc/kernel/services/threads/priorities.svg
generated
4
doc/kernel/services/threads/priorities.svg
generated
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 27 KiB |
|
@ -35,9 +35,6 @@ The kernel spawns the following system threads:
|
|||
and never terminates.
|
||||
|
||||
The idle thread always uses the lowest configured thread priority.
|
||||
If this makes it a cooperative thread, the idle thread repeatedly
|
||||
yields the CPU to allow the application's other threads to run when
|
||||
they need to.
|
||||
|
||||
The idle thread is an essential thread, which means a fatal system error
|
||||
is raised if the thread aborts.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue