zEndTask

Ends a task and cleans up all resources associated with the given task ID.

Service:File System Services (64-Bit)

Syntax

#include <zPublics.h>

STATUS zEndTask(
   Key_t   key,
   NINT    taskID);

Parameters

key

(IN) Specifies the owner of the task to be terminated.

taskID

(IN) Specifies the task to end.

Return Values

zOK

The operation completed successfully.

non-0

An error occurred (see Section 4.1, Return Values for a description).

Remarks

All resources associated with this task are released, which includes any keys that were opened using this task. Any transactions bound to this task that have not been committed are aborted.

See Also

zClose