This is the core of the AIO implementation: aio.cc and aio.h. The
latter is used within the Cygwin DLL by aio.cc and the fhandler* modules,
as well as by user programs wanting the AIO functionality.
---
winsup/cygwin/aio.cc| 984
This code is where the AIO implementation is wired into existing Cygwin
mechanisms for file and device I/O: the fhandler* functions. It makes
use of an existing internal routine prw_open to supply a "shadow fd"
that permits asynchronous operations on a file the user app accesses
via its own fd.
Updates to misc files to integrate AIO into the Cygwin source tree.
Much of it has to be done when adding any new syscalls. There are
some updates to limits.h for AIO-specific limits. And some doc mods.
---
winsup/cygwin/Makefile.in | 1 +
winsup/cygwin/common.din |
This is intended to be the final patch set implementing POSIX AIO. The
string XXX marks issues I'm specifically requesting comments on. I
think there are only two of these XXXs left, both in aio.cc. Questions,
comments, or suggestions are all welcome.
Thanks & Regards,
..mark
"Hell is