On Wed, Nov 03, 2021 at 03:37:01PM +0000, [email protected] wrote: > I program on OpenBSD and am writing a library which presents an API > for IO. POSIX defines an API[*] for asyncronous IO and I would like > my code to support it but this API is unavailable in OpenBSD. > > Is the lack intentional (perhaps there are other plans) or is it > simply the case that no-one has sat down and written it yet?
A bit of both. AIO is not often used. Using basic poll/select or the use of libevent is much preferred to build an async API. AIO is complex and in most cases not needed. > I don't mind that the async parts will not (yet) work on OpenBSD > because I can always test them elsewhere but I would like to know > which backend API(s) I should write against and therefore what > OpenBSD intends to do regarding AIO in the future. > > Cheers, > > Matthew > > [*] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/aio.h.html > -- :wq Claudio

