On Fri 23 Mar 2012 03:00, Nala Ginrut <nalagin...@gmail.com> writes: > Cool~but I think it didn't support Non-Block IO, right?
It does support non-blocking I/O, yes. fdes->eport sets O_NONBLOCK on the fd. Any time an operation would block causes the operation to suspend the current continuation, and ask the epoll loop to resume it when the fd becomes readable/writable, and continue scheduling other threads. Andy -- http://wingolog.org/