On Tue, Oct 19, 2010 at 8:37 PM, Glyph Lefkowitz email@example.com wrote:
I'd like to echo this sentiment. This is not about providing a 'safe' wrapper to hide some powerful feature of these APIs: the POSIX aio_* functions are really completely useless. To quote the relevant standard http://www.opengroup.org/onlinepubs/000095399/basedefs/aio.h.html:
APPLICATION USAGE None. RATIONALE None. FUTURE DIRECTIONS None.
No comment on the rest of your claim, but this is a silly argument. The standard says the same thing about at least fcntl.h, signal.h, pthread.h, and ucontext.h, which clearly are useful.