SysSemLeave
(FUN)
FUNCTION SysSemLeave : RTS_IEC_RESULT
This function must be called after an access on data which are also used by other tasks. This is necessary to release the semaphore, which has been blocked before the access by function SysSemEnter. The semaphore is identified by its handle.
- InOut:
Scope
Name
Type
Comment
Return
SysSemLeave
RTS_IEC_RESULT
Returns the runtime system error code (see CmpErrors.library)
Input
hSem
RTS_IEC_HANDLE
Handle of the semaphore