![]() |
![]() |
![]() |
Wait for asynchronous I/O operations to complete
#include <aio.h> int aio_suspend( const struct aiocb * const list[], int nent, const struct timespec * timeout );
libc
The aio_suspend() function suspends the calling thread until at least one of the asynchronous I/O operations referenced by the list argument has completed, until a signal interrupts the function, or, if timeout isn't NULL, until the time interval specified by timeout has passed.
![]() |
Asynchronous I/O operations aren't currently supported. |
-1, and errno is set.
POSIX 1003.1 (Realtime Extensions)
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |