Re: Status of AIO

From: Benjamin LaHaise
Date: Mon Mar 06 2006 - 20:43:13 EST


On Tue, Mar 07, 2006 at 03:30:50AM +0200, 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.

Unfortunately, it will block in io_submit when it shouldn't.

-ben
--
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@xxxxxxxxx>.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/