IP_TaskDestroy

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskDestroy`

`IP_TaskDestroy` -- closes connections and queues, removes the task and frees memory.

## Syntax

``void IP_TaskDestroy`(IP_Task* task);`

## Arguments

`task`

  A task pointer.

## Returns

None.

## Description

This function closes any open connections on the `task`, closes any open queues, removes the `task` from the task cache, and frees any memory associated with the `task` structure, including the structure itself.

## See Also

Task Structures, `IP_TaskCreate`

Prev | Home | Next
`IP_TaskDefaultDomain` | Up | `IP_TaskFindID`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.