This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]