www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_Create_Task_Without_Run

Create a task which is passed parameters by system, but do not start the task yet.

int RTX_Create_Task_Without_Run ( int far *taskID,
                         const TaskDefBlock far *taskdefblock );

Parameters

taskID

Output Parameter:  Pointer to 16 bit storage for the taskID, allocated by the caller

taskdefblock

Input Parameter:  Pointer to a TaskDefBlock 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 TaskDefBlock structure prior to making this call.

The RTX_Restart_Task function must be called to start this new task.

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
RTX API   Overview

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.01V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document