www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - RTOS API


RTX_Delete_Task

Remove specified task from system.

int RTX_Delete_Task ( int taskID );

Parameters

taskID

Task handle returned from RTX_Create_Task or RTX_Create_Task_Without_Run.

Return Value

0, task is removed.
non-zero --> error code.

Comments

You should not delete or kill a task which is waiting, or is about to wait for a resource or counting semaphore.

After making this call, the taskID is no longer valid.

A task can remove itself.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


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


End of document