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

SysRWLWriteLock

RTS_IEC_RESULT

Input

hRWLock

RTS_IEC_HANDLE

Handle to the ReadWrite lock object created by SysRWLCreate