@CHIP-RTOS C Library V2.06 - RTOS API
RTX_Param_Task_Without_Run
Create a task which will be passed
a parameter, but do not start it yet. int RTX_Param_Task_Without_Run ( int *taskID,
const TASK_PARAM_DEF *taskdefblock ); Parameters
taskID
- Output Parameter: Pointer to 16 bit storage
for the taskID, allocated by the caller
taskdefblock
- Input Parameter: Pointer to a
TASK_PARAM_DEF
type data structure prepared by caller.
Return Value
- 0, task is created, output location taskID
contains the 16 bit taskID
non-zero --> error code.
Comments
- The caller must fill in portions of the
TASK_PARAM_DEF structure
prior to making this call.
The RTX_Restart_Task function must be called to
start this new task.
This API is identical to the
RTX_Create_Task_Without_Run, with
one difference. The task definition data structure used here allows
a 32 bit parameter to specified which the system passes to the task
on the stack.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Related Topics
-
- IPC@CHIP® System Tasks
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.20 | V1.20 | V1.20 | V1.05 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|