On Thu, Jun 22, 2006 at 09:53:38PM +0200, Robert Iakobashvili ([EMAIL PROTECTED]) wrote: > Evgeniy, > > On 6/22/06, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > >Kevent subsystem incorporates several AIO/kqueue design notes and ideas. > >Kevent can be used both for edge and level notifications. It supports > >socket notifications, network AIO (aio_send(), aio_recv() and > >aio_sendfile()), inode notifications (create/remove), > >generic poll()/select() notifications and timer notifications. > > Great job! > Smooth integration with userland asynch POSIX frameworks > (e.g. ACE POSIX_Proactor) may require syscalls (or their emulation) > with POSIX interface: > > * POSIX_API > * aio_read > * aio_write > * aio_suspend > * aio_error > * aio_return > * aio_cancel > > where aio_suspend is very important.
I've designed network AIO differently as how posix declared it's functions. POSIX AIO is like rocket science - while one tries to implement them all there is no time to do the real work. Although all of them including suspend can be emulated on top of existing calls to kevent. > -- > Sincerely, > ------------------------------------------------------------------ > Robert Iakobashvili, coroberti at gmail dot com > Navigare necesse est, vivere non est necesse. > ------------------------------------------------------------------ -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html