Ends a task and cleans up all resources associated with the given task ID.
#include <zPublics.h> STATUS zEndTask( Key_t key, NINT taskID);
(IN) Specifies the owner of the task to be terminated.
(IN) Specifies the task to end.
zOK |
The operation completed successfully. |
non-0 |
An error occurred (see Section 4.1, Return Values for a description). |
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.