@CHIP-RTOS C Library V2.06 - RTOS API
RTX_Signal_Sem
Signal a counting semaphore. int RTX_Signal_Sem ( int semID ); Parameters
semID
- The semaphore ID of a counting semaphore
acquired by a call to RTX_Create_Sem.
Return Value
- 0 on success else
error code.
Comments
- The resource will immediately be given to the task (if any) which is
waiting at the head of this semaphore's wait queue. Task
rescheduling occurs immediately if necessary.
This method is used to release access to a counting semaphore
after a task has acquired the semaphore through a
RTX_Get_Sem or
RTX_Wait_Sem call.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|