SysSemProcessCreate
(FUN)
FUNCTION SysSemProcessCreate : RTS_IEC_HANDLE
<description>Create a new semaphore object to synchronize processes (global semaphores)</description> <result><p>RESULT: Handle to the sempahore object</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysSemProcessCreate
RTS_IEC_HANDLE
Input
pszName
STRING
<param name=”pszName” type=”IN”>Name of the semaphore</param>
pResult
POINTER TO RTS_IEC_RESULT
- <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library):
<ul> <li>ERR_OK</li> <li>ERR_DUPLICATE: if semaphore already exists</li> <ul>
</param>