MIO_aio_suspend64 Subroutine

Purpose

Suspend the calling process until one or more asynchronous I/O requests are completed.

Library

Modular I/O Library (libmio.a)

Syntax

#include <libmio.h>

int MIO_aio_suspend64( Count, aiocbplist )
int Count;
struct aiocb64 **aiocbplist;

Description

This subroutine is an entry point of the MIO library for the Legacy AIO aio_suspend64 subroutine. Use this subroutine to instrument your application with the MIO library. You can replace the Legacy AIO aio_suspend64 kernel I/O subroutine with this equivalent MIO subroutine. SeeModular I/O in AIX® Version 7.1 Performance management for the MIO library implementation.

The aio_suspend64 subroutine suspends the calling process until one or more of the Count parameter asynchronous I/O requests are completed or a signal interrupts the subroutine. Specifically, the aio_suspend64 subroutine handles requests associated with the aio control block (aiocb) structures pointed to by the aiocbplist parameter.

Parameters

The parameters are those of the corresponding standard POSIX system call aio_suspend64.

Return Values

The return values are those of the corresponding standard POSIX system call aio_suspend64.

Error Codes

The error codes are those of the corresponding standard POSIX system call aio_suspend64.

Location

/usr/lib/libmio.a