IP_TaskCloseAsync

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskCloseAsync`

`IP_TaskCloseAsync` -- closes queues and cleans up resources.

## Syntax

``int IP_TaskCloseAsync`(IP_Task* task);`

## Arguments

`task`

  A task pointer.

## Returns

`0` on success, or `-1` on failure and `errno` is set.

## Description

This function closes any open queues, either for reading or writing, associated with the `task`, and cleans up any associated resources. This may result in destroying the pulse used by the queue notification services.

## See Also

Task Structures, `IP_TaskInitAsync`, `IP_TaskSendAsync`, `IP_TaskWaitAsync`

Prev | Home | Next
`IP_SetGUIHandler` | Up | `IP_TaskCloseSync`

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