suspend execution pending completion of block I/O or signal
bool_t biowait_sig(buf_t *bp);
function suspends process execution during block I/O,
but can be awakened by a signal.
Pointer to the buffer header structure.
Returns B_TRUE when the I/O has completed
has been called).
If the wait is interrupted by a signal,
B_FALSE will be returned
and it is the caller's responsibility
to cause the transfer to be aborted
(and biodone to be called) and then call
Block drivers that have allocated their own buffers with
can use biowait_sig
to suspend the current process execution while waiting for a read
or write request to complete.
in their I/O completion handlers to signal
when the I/O transfer is complete.
Context and synchronization
User or blockable
6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005