Aio (was: Re: [RFC]: Overlapped I/O implementation)
Martin.Wilck at fujitsu-siemens.com
Wed Nov 14 02:03:01 CST 2001
> You may want to consider using Posix aio to implement
> overlapped I/O, regardless of whether it's a disk file,
> a network connection, or whatever. glibc has a fallback
> implementation of aio, and vendors are starting to provide
> optimized, high-quality implementations. SGI and Red Hat
> are working hard on it.
I had a look at it, but the current implementation on my system
(libc 2.2.2) is limited to files that allow lseek() and therefore
only suited for disk files. Moreover, it requires pthreads.
I didn't feel bold enough to check whether it works with Wine's
pthreads replacement (btw, aio internally uses threads for doing IO, so
if threads are the wrong thing, as Alexandre argued, aio isn't right
Anyway, thanks for the hint, I'll stay tuned with aio.
Martin Wilck Phone: +49 5251 8 15113
Fujitsu Siemens Computers Fax: +49 5251 8 20409
Heinz-Nixdorf-Ring 1 mailto:Martin.Wilck at Fujitsu-Siemens.com
D-33106 Paderborn http://www.fujitsu-siemens.com/primergy
More information about the wine-devel