SysRWLWriteLock (FUN)
FUNCTION SysRWLWriteLock : RTS_IEC_RESULT
This function to enter a write lock(synchronization object). 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
SysRWLWriteLockRTS_IEC_RESULTInput
hRWLockRTS_IEC_HANDLEHandle to the ReadWrite lock object created by SysRWLCreate