lkml.org 
[lkml]   [2006]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Status of AIO
aio_* functions are library routines in glibc that are implemented by 
spawning threads to use the normal kernel io syscalls. They don't use
real async IO in the kernel. I'm not sure why you didn't see the
thread, but if you look up the glibc sources you will see how it works.

To use the kernel aio you make calls to io_submit().

Dan Aloni wrote:
> Well, I've written a small test app to see if it works with network
> sockets and apparently it did for that small test case (connect()
> with aio_read(), loop with aio_error(), and aio_return()). I thought
> perhaps the glibc implementation was running behind the scene, so I've
> checked to see if it a thread was created in the background and I
> there wasn't any thread.
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-07 02:40    [W:0.159 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site