SysTaskAutoReleaseOnExit
(FUN)
FUNCTION SysTaskAutoReleaseOnExit : RTS_IEC_RESULT
- <description>The creator of a task can call this function to release the task object, if the task ends is execution. So the task is responsible itself to delete this object.
NOTE: The task object must not be used from outside the task after calling this function!</description>
<result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskAutoReleaseOnExit
RTS_IEC_RESULT
Input
hTask
RTS_IEC_HANDLE
<param name=”hTask” type=”IN”>Handle to task</param>