Aio on sockets ?

Roland McGrath roland@redhat.com
Mon Dec 9 10:19:00 GMT 2002


> 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.  



More information about the Libc-alpha mailing list