Skip to main content

Module name

Module name 

Source
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_CAPACITY bytes, truncated to the configuration’s MAX_TASK_NAME_LEN exactly as C truncates it.

Constants§

NAME_CAPACITY
The largest configMAX_TASK_NAME_LEN this build supports.