AIO and some advice needed.
Alan Bateman
Alan.Bateman at Sun.COM
Wed Nov 26 12:30:43 PST 2008
Avinash Lakshman wrote:
> :
>
> Yes I know the position. So in order to avoid convoluted programming
> what we are trying to do is submit the read request and suspend the
> continuation. When the completion handler is done we release the
> continuation to continue with where we left off. Does this sound
> reasonable? It almost as if sounds like unless the entire system is
> asynchronous there is not much to gain from AIO. Is my conclusion correct?
In principal this should be fine. Please do feedback your experiences
with this approach. Asynchronous I/O does require an event driven
application so it can be awkward to shoehorn into existing code.
-Alan.
More information about the nio-discuss
mailing list