Err WaitIO( Item ior )
Note: If the I/O request has already completed, the procedure returns immediately. If the I/O request never completes and it is not aborted, the procedure never returns.
Starting with kernel folio V24, this function will automatically sample the io_Error field of the IO request, and return this to you. It is, therefore, no longer necessary to have code such as:
err = WaitIO(iorItem);
if (err > = 0)
You can now just look at the return value of
err = ior->io_Error;
WaitIO()
.
AbortIO
(), CheckIO(), DoIO(), SendIO()