Expand description
What a sched task’s thread is called (nros-<label>).
What a sched task’s THREAD is called, for every runner that spawns one.
A kernel keeps few bytes of a thread name: Linux 15 plus the NUL, and
FreeRTOS’s default configMAX_TASK_NAME_LEN is 16. The POSIX port cuts a
longer name there (glibc refuses it outright), so whatever tells two
threads apart has to come first. A runner names a sched task’s thread
nros-<label>, with the label from label.
Constants§
- DERIVED_
PREFIX - The prefix the priority derivation gives every sched task it synthesises
(
derived-<node>,derived-level-<k>). Every derived level carries it, so in a thread name it is eight bytes that tell no two levels apart.
Functions§
- label
- The part of a sched task’s name its thread is labelled with: the name, less
DERIVED_PREFIX. A runner formats it asnros-<label>.