task.h
BaseType_t xTaskGetStaticBuffers( TaskHandle_t xTask,
StackType_t ** ppuxStackBuffer,
StaticTask_t ** ppxTaskBuffer );
configSUPPORT_STATIC_ALLOCATION
must be defined as 1 for this function to be available. See the RTOS Configuration documentation for more information.
Retrieve pointers to a statically created task's data structure buffer and stack buffer. These are the same buffers that are supplied at the time of creation.
-
Parameters:
-
xTask
|
The task whose buffers will be retrieved.
|
ppuxStackBuffer
|
Used to return a pointer to the task's stack buffer.
|
ppxTaskBuffer
|
Used to return a pointer to the task's data structure buffer.
|
-
Returns:
-
pdTRUE if the buffers were retrieved, pdFALSE otherwise.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.