All Manuals > LispWorks User Guide and Reference Manual > 32 The COMM Package

NextPrevUpTopContentsIndex

async-io-state-abort-and-close

Function
Summary

Aborts any I/O on an async-io-state, closes it and optionally calls a callback.

Package

comm

Signature

async-io-state-abort-and-close async-io-state &key close-callback keep-alive-p

Arguments

async-io-state

An async-io-state.

keep-alive-p

A generalized boolean.

close-callback

A function designator for a function of one argument, or nil.

Values

None.

Description

The function async-io-state-abort-and-close aborts any I/O on async-io-state, closes it and optionally calls the close-callback.

async-io-state-abort-and-close first aborts any I/O operation that is in progress, and then closes the state (using close-async-io-state).

The value of keep-alive-p is passed to close-async-io-state.

If close-callback is non-nil, it should be a function taking one argument. It is called with the state as its argument after the state is closed.

async-io-state-abort-and-close is asynchronous. The state is known to be closed only when the close-callback is called.

See close-async-io-state about accessing the state after it is closed.

See also

async-io-state-abort
close-async-io-state
The Async-I/O-State API


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex