SysRWLReadLock (FUN)

FUNCTION SysRWLReadLock : RTS_IEC_RESULT

This function to enter a read 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

SysRWLReadLock

RTS_IEC_RESULT

Input

hRWLock

RTS_IEC_HANDLE

Handle to the ReadWrite lock object created by SysRWLCreate