Visible to Intel only — GUID: GUID-89C73263-AD61-443A-A760-D71FD28A440F
Visible to Intel only — GUID: GUID-89C73263-AD61-443A-A760-D71FD28A440F
vslSSDeleteTask
Destroys the task object and releases the memory.
Syntax
status = vslSSDeleteTask(&task);
Include Files
- mkl.h
Input Parameters
Name |
Type |
Description |
---|---|---|
task |
VSLSSTaskPtr* |
Descriptor of the task to destroy |
Output Parameters
Name |
Type |
Description |
---|---|---|
status |
int |
Sets to VSL_STATUS_OK if the task is deleted; otherwise a non-zero code is returned. |
Description
The vslSSDeleteTask routine deletes the task descriptor object, releases the memory allocated for the structure, and sets the task pointer to NULL. If vslSSDeleteTask fails to delete the task successfully, it returns an error code.
Call of the destructor with the NULL pointer as the parameter results in termination of the function with no system crash.