You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/task.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ typedef struct xTASK_STATUS
161
161
{
162
162
TaskHandle_txHandle; /* The handle of the task to which the rest of the information in the structure relates. */
163
163
constchar*pcTaskName; /* A pointer to the task's name. This value will be invalid if the task was deleted since the structure was populated! */
164
-
UBaseType_txTaskNumber; /* A number unique to the task. */
164
+
UBaseType_txTaskNumber; /* A number unique to the task. Note that this is not the task number that may be modified using vTaskSetTaskNumber() and uxTaskGetTaskNumber(), but a separate TCB-specific and unique identifier automatically assigned on task generation. */
165
165
eTaskStateeCurrentState; /* The state in which the task existed when the structure was populated. */
166
166
UBaseType_tuxCurrentPriority; /* The priority at which the task was running (may be inherited) when the structure was populated. */
167
167
UBaseType_tuxBasePriority; /* The priority to which the task will return if the task's current priority has been inherited to avoid unbounded priority inversion when obtaining a mutex. Only valid if configUSE_MUTEXES is defined as 1 in FreeRTOSConfig.h. */
0 commit comments