@@ -1795,8 +1795,10 @@ UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray,
17951795 * demo applications. Do not consider it to be part of the scheduler.
17961796 *
17971797 * vTaskList() calls uxTaskGetSystemState(), then formats part of the
1798- * uxTaskGetSystemState() output into a human readable table that displays task
1799- * names, states and stack usage.
1798+ * uxTaskGetSystemState() output into a human readable table that displays task:
1799+ * names, states, priority, stack usage and task number.
1800+ * Stack usage specified as the number of unused StackType_t words stack can hold
1801+ * on top of stack - not the number of bytes.
18001802 *
18011803 * vTaskList() has a dependency on the sprintf() C library function that might
18021804 * bloat the code size, use a lot of stack, and provide different results on
@@ -1932,9 +1934,8 @@ uint32_t ulTaskGetIdleRunTimeCounter( void ) PRIVILEGED_FUNCTION;
19321934 * that way task notifications can be used to send data to a task, or be used as
19331935 * light weight and fast binary or counting semaphores.
19341936 *
1935- * A task can use xTaskNotifyWaitIndexed() to [optionally] block to wait for a
1936- * notification to be pending, or ulTaskNotifyTakeIndexed() to [optionally] block
1937- * to wait for a notification value to have a non-zero value. The task does
1937+ * A task can use xTaskNotifyWaitIndexed() or ulTaskNotifyTakeIndexed() to
1938+ * [optionally] block to wait for a notification to be pending. The task does
19381939 * not consume any CPU time while it is in the Blocked state.
19391940 *
19401941 * A notification sent to a task will remain pending until it is cleared by the
@@ -2520,8 +2521,8 @@ void vTaskGenericNotifyGiveFromISR( TaskHandle_t xTaskToNotify,
25202521 * value acts like a counting semaphore.
25212522 *
25222523 * A task can use ulTaskNotifyTakeIndexed() to [optionally] block to wait for
2523- * the task's notification value to be non-zero . The task does not consume any
2524- * CPU time while it is in the Blocked state.
2524+ * a notification. The task does not consume any CPU time while it is in the
2525+ * Blocked state.
25252526 *
25262527 * Where as xTaskNotifyWaitIndexed() will return when a notification is pending,
25272528 * ulTaskNotifyTakeIndexed() will return when the task's notification value is
0 commit comments