@@ -1795,8 +1795,10 @@ UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray,
1795
1795
* demo applications. Do not consider it to be part of the scheduler.
1796
1796
*
1797
1797
* 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.
1800
1802
*
1801
1803
* vTaskList() has a dependency on the sprintf() C library function that might
1802
1804
* bloat the code size, use a lot of stack, and provide different results on
@@ -1932,9 +1934,8 @@ uint32_t ulTaskGetIdleRunTimeCounter( void ) PRIVILEGED_FUNCTION;
1932
1934
* that way task notifications can be used to send data to a task, or be used as
1933
1935
* light weight and fast binary or counting semaphores.
1934
1936
*
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
1938
1939
* not consume any CPU time while it is in the Blocked state.
1939
1940
*
1940
1941
* A notification sent to a task will remain pending until it is cleared by the
@@ -2520,8 +2521,8 @@ void vTaskGenericNotifyGiveFromISR( TaskHandle_t xTaskToNotify,
2520
2521
* value acts like a counting semaphore.
2521
2522
*
2522
2523
* 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.
2525
2526
*
2526
2527
* Where as xTaskNotifyWaitIndexed() will return when a notification is pending,
2527
2528
* ulTaskNotifyTakeIndexed() will return when the task's notification value is
0 commit comments