Il 28/03/2013 08:55, Liu Ping Fan ha scritto: > disadvantage for current AioContext > 1st. need to define and expand interface for other fd events, while glib > open this interface for user *
True. > 2nd. need to add support for IOCanReadHandler, while gsource provide > prepare, check method to allow more flexible control The AioFlushHandler is basically the same thing as the IOCanReadHandler. > 3rd. block layer's AioContext will block other AioContexts on the same > thread. I cannot understand this. > 4th. need more document I really don't think so. > disadvantage for glib > 1st. if more than one fds on the same GSource, need re-implement something > like aio_set_file_handler