www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_Delete_Sem

Delete a semaphore, removing it from system.

int RTX_Delete_Sem ( int semID );

Parameters

semID

The semaphore ID of a resource or counting semaphore acquired by a call to RTX_Create_Sem.

Return Value

0 on success else error code.

Comments

You must be absolutely certain that no other task, ISP or Timer Procedure is in any way using or about to use the semaphore. Failure to observe this restriction may lead to unexpected and unpredictable faults.

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

RTX API   Overview

Supported since or modified in @CHIP-RTOS version

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

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


End of document