Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Asynchronous File I/O on Linux



On Sat, May 15, 2010 at 3:23 PM, Mark Woodward <markw-FJ05HQ0HCKaWd6l5hS35sQ at public.gmane.org> wrote:
> Does anyone know of a standard asynchronous file I/O system for Linux?
>
> I just wrote one because I needed to try something, but I was wondering if
> there is a more mainstream project going on. From what I've been able to
> find, you can't do much better than what I did with the POSIX API and that
> was open a file multiple times, use posix threads, mutexes, and events to
> queue up I/O requests to the threads.

It looks to me like you are re-inventing the POSIX AIO functions.
"man 3 aio" on my Linux system looks like a good place to learn more about this.
It at least appears to be worth a look....

Note: I've never used these functions, I just vaguely remembered that
they existed.

Bill Bogstad






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org