SysSemDelete (FUN) ¶ FUNCTION SysSemDelete : RTS_IEC_RESULT This function deletes the semaphore which is identified by its handle. InOut: Scope Name Type Comment Return SysSemDelete RTS_IEC_RESULT Return the runtime system error code (see CmpErrors.library) Input hSem RTS_IEC_HANDLE Handle of the semaphore
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
SysRWLReadLockTry (FUN) ¶ FUNCTION SysRWLReadLockTry : RTS_IEC_RESULT This function tries enter a read lock(synchronization object). If a write lock is still active, the functions returns an error. The function succeeded as well, if another read lock is still active. 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 SysRWLReadLockTry RTS_IEC_RESULT Input hRWLock RTS_IEC_HANDLE Handle to the ReadWrite lock object created by SysRWLCreate
SysRWLReadUnlock (FUN) ¶ FUNCTION SysRWLReadUnlock : RTS_IEC_RESULT This function leaves a read lock, entered by SysRWLReadLock (synchronization object). RETURN: Returns the runtime system error code (see CmpErrors.library) InOut: Scope Name Type Comment Return SysRWLReadUnlock RTS_IEC_RESULT Input hRWLock RTS_IEC_HANDLE Handle to the ReadWrite lock object created by SysRWLCreate
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
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
SysRWLWriteUnlock (FUN) ¶ FUNCTION SysRWLWriteUnlock : RTS_IEC_RESULT This function leaves a write lock, entered by SysRWLReadLock (synchronization object). RETURN: Returns the runtime system error code (see CmpErrors.library) InOut: Scope Name Type Comment Return SysRWLWriteUnlock RTS_IEC_RESULT Input hRWLock RTS_IEC_HANDLE Handle to the ReadWrite lock object created by SysRWLCreate
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:06:53 companyName string 3S-Smart Software Solutions GmbH libraryFile SysReadWriteLock.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysReadWriteLock.clean.json version version 2.0.0.0 ProjectInformation LinkInSimulation bool True Released True LastModificationDateTime date 20.04.2021, 16:06:53 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder SysReadWriteLock Project SysReadWriteLock Title SysReadWriteLock Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
SysProcessTerminate (FUN) ¶ FUNCTION SysProcessTerminate : RTS_IEC_RESULT <description>This function terminates the process specified by its handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysProcessTerminate RTS_IEC_RESULT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param>