Expand description
A task’s name, stored the way the C kernel stores it.
prvInitialiseNewTask copies at most configMAX_TASK_NAME_LEN
characters into the TCB and writes a NUL at the last index, so a longer
name is silently truncated and the trace prints the truncated form. A
&'static str would have been simpler and wrong: the oracle’s line for a
long name is the truncated one, and the diff is the gate.
Structs§
- Name
- A task name: at most
NAME_CAPACITYbytes, truncated to the configuration’sMAX_TASK_NAME_LENexactly as C truncates it.
Constants§
- NAME_
CAPACITY - The largest
configMAX_TASK_NAME_LENthis build supports.