summaryrefslogtreecommitdiffstats
path: root/spec-glossary/glossary/priority-task.yml
blob: 3836a263b4850feb034ca51eee8851da68e3ad53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
enabled-by: true
glossary-type: term
links:
- role: glossary-member
  uid: ../glossary-general
term: task priority
text: |
  A task ${priority:/term} of a ${task:/term} determines its importance
  relative to other tasks.

  The scheduler use task priorities to determine which ${readytask:/term} gets
  a processor allocated, see ${scheduledtask:/term}.  The
  ${priority-eligible:/plural} of a task define the position of the task in a
  ${waitqueue:/term} which uses the priority discipline.  Each task has at
  least the ${priority-real:/term}.

  Task priorities are used in ${waitqueue:/plural} which use the priority
  discipline to determine the dequeueing order of tasks.
type: glossary