This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug librt/20950] Do asynchronous execution for lio_listio's IOs


https://sourceware.org/bugzilla/show_bug.cgi?id=20950

--- Comment #2 from Ulrich Windl <Ulrich.Windl at rz dot uni-regensburg.de> ---
(In reply to Florian Weimer from comment #1)
> Out of curiosity, is there a reason why you cannot use libaio instead of the
> glibc aio interface?  Thanks.

Two reasons:
1) It (lio_listio()) is POSIX, so it may run on several machines.
2) I didn't know that there are two implementations ;-)

BTW: In the meantime I reimpemented my own mechanism that used a pool of max n
requests that is refilled by the application as soon as there is some slot
available, and n threads are doing the IOs vie pread(). That is very close to
what I wanted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]