On 21/07/2015 03:19, Fam Zheng wrote: > > Yes, that would work. I am not sure how complex it would be. You would also > > need > > a solution for the GSource and one (probably similar to aio-posix) for your > > epoll implementation. With ctx->notified at least you can encapsulate it in > > aio_notify_accept... > > Yes, I'll take this into consideration when I refactor for epoll > implementation. For now I think aio_notify_accept is cleaner.
Ok, I'll wait for Stefan to pick up the unoptimized version, and then send v2 of aio_notify_accept. Paolo