AIO operations on a serial device
Metuki Sabhe
sabhe.metuki@gmail.com
Fri Feb 29 12:18:00 GMT 2008
Hello,
I was wondering whether it is ok to use the aio_read/write API on a
serial device,
assuming I always have maximum one operation of a kind simultaneously
(will not call aio_read until previous aio_read operation was completed).
I guess I should always use aio_offset = 0 for that matter.
This sounds like a little tweaking, but is it ok ?
I have an application that I don't want to wait for the IO operation
to complete.
The other alternative is to use two worker threads, but that's a bit more code
than just using aio_ operations.
Thank you
metuki
More information about the Libc-alpha
mailing list