Re: AIO support

Simon Maurer <mail at maurer.systems>
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
Hi Denis,

Yes I agree, but I still need the the syscall wrappers, because glibc 
doesn't provide them. So bundling it with ell and make libaio a private 
library of ell seams to be a good solution for me.

Regards,
Simon

On 9/20/21 3:29 PM, Denis Kenzior wrote:
> Hi Simon,
> 
> On 9/20/21 10:23 AM, Simon Maurer wrote:
>> I wrote a little "proof of concept" for using ell with libaio:
>> https://github.com/mausys/ellaio/blob/main/aio.c
>> No more signals and threads. Also libaio is LGPL too, so it could be 
>> bundled with ell.
> 
> libaio seems to be a small convenience wrapper around linux system calls 
> (~500 lines).  Why not use io_submit, io_setup, etc directly for the 
> parts you need?
> 
> Regards,
> -Denis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.