DeleteTask

Destroys the task object and releases the memory.

Syntax

Fortran:

status = vslssdeletetask(task)

C:

status = vslSSDeleteTask(&task);

Include Files

The Fortran 90 interfaces are specified in the mkl_vsl.f90 include file, and the C interfaces are specified in the mkl_vsl_functions.h include file.

Input Parameters

Name

Type

Description

task

Fortran: TYPE(VSL_SS_TASK)

C: VSLSSTaskPtr*

Descriptor of the task to destroy

Output Parameters

Name

Type

Description

status

Fortran: INTEGER

C: int

Sets to VSL_STATUS_OK if the task is deleted; otherwise a non-zero code is returned.

Description

The DeleteTask routine deletes the task descriptor object, releases the memory allocated for the structure, and sets the task pointer to NULL. If DeleteTask fails to delete the task successfully, it returns an error code.

Note iconNote

Call of the destructor with the NULL pointer as the parameter results in termination of the function with no system crash.


Submit feedback on this help topic

Copyright © 1994 - 2010, Intel Corporation. All rights reserved.