]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/tasks.c
Add xQueueOverwrite() and a common demo task to demonstrate its use.
[freertos] / FreeRTOS / Source / tasks.c
index b8dd771ca24a77d83bda8d2bbe6116e120ef7b71..6bdf13c4f36af659886ba820ace3f5da590151c8 100644 (file)
@@ -115,7 +115,7 @@ typedef struct tskTaskControlBlock
                xMPU_SETTINGS xMPUSettings;                             /*< The MPU settings are defined as part of the port layer.  THIS MUST BE THE SECOND MEMBER OF THE TCB STRUCT. */\r
        #endif\r
 \r
-       xListItem                               xGenericListItem;               /*< The list that the state list item of a task is reference from denotes the state of that task (Ready, Blocked, Suspended ). */\r
+       xListItem                               xGenericListItem;       /*< The list that the state list item of a task is reference from denotes the state of that task (Ready, Blocked, Suspended ). */\r
        xListItem                               xEventListItem;         /*< Used to reference a task from an event list. */\r
        unsigned portBASE_TYPE  uxPriority;                     /*< The priority of the task.  0 is the lowest priority. */\r
        portSTACK_TYPE                  *pxStack;                       /*< Points to the start of the stack. */\r
@@ -149,8 +149,11 @@ typedef struct tskTaskControlBlock
        #if ( configUSE_NEWLIB_REENTRANT == 1 )\r
                /* Allocate a Newlib reent structure that is specific to this task.\r
                Note Newlib support has been included by popular demand, but is not\r
-               used by the FreeRTOS maintainers themselves, and therefore receives\r
-               less rigorous testing than the rest of the FreeRTOS code. */\r
+               used by the FreeRTOS maintainers themselves.  FreeRTOS is not\r
+               responsible for resulting newlib operation.  User must be familiar with\r
+               newlib and must provide system-wide implementations of the necessary\r
+               stubs. Be warned that (at the time of writing) the current newlib design\r
+               implements a system-wide malloc() that must be provided with locks. */\r
                struct _reent xNewLib_reent;\r
        #endif\r
 \r