Back to Darwin Xnu

Io Done Queue Terminate

osfmk/man/io_done_queue_terminate.html

latest1.0 KB
Original Source

io_done_queue_terminate


Function - Terminate an io_done_queue kernel object.

SYNOPSIS

**#include&ltdevice/device.h&gt**** kern\_return\_t io\_done\_queue\_terminate****(mach\_port\_t**queue**);**

PARAMETERS

queue[in io-done-queue send right] The port referencing the io_done_queue to be destroyed.

DESCRIPTION

The io_done_queue_terminate function is called to destroy a previous instatiation of the kernel object supporting asynchronous read/write operations on a device.

RETURN VALUES

KERN_INVALID_ARGUMENT Invalid queue parameter.

Functions: io_done_queue_create, io_done_queue_wait, device_read_async, device_read_async_inband, device_read_overwrite_async, device_write_async, device_write_async_inband.