This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Aio on sockets ?
- From: Roland McGrath <roland at redhat dot com>
- To: Bourne <bourne at ToughGuy dot net>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Mon, 9 Dec 2002 01:21:02 -0800
- Subject: Re: Aio on sockets ?
> I would like to know if we could use glibc aio calls on sockets for read
> and write. ( aio_read / aio_write ). Since the read call can block on
> the sockets.
>
> Are there any known issues regarding the usage of aio calls with
> sockets/any other blocking reads ( named pipes etc )
There should not be any special issues. POSIX.1 specifies the behavior of
aio in terms of file descriptors and objects that do or do not support
seeking.