SysRWLWriteLockTry
(FUN)
FUNCTION SysRWLWriteLockTry : RTS_IEC_RESULT
This function tries enter a write lock(synchronization object). If a write lock is still active, the functions returns an error. NOTE: Several readers can enter the lock simultaneously! But they are synchronized against an entered write lock! RETURN: Returns the runtime system error code (see CmpErrors.library)
- InOut:
Scope
Name
Type
Comment
Return
SysRWLWriteLockTry
RTS_IEC_RESULT
Input
hRWLock
RTS_IEC_HANDLE
Handle to the ReadWrite lock object created by SysRWLCreate