On Tue, Sep 29, 2015 at 10:38 AM, 贾凯 <[email protected]> wrote: > Why we insert the event into watcher_queue in uv__io_start and add it to > kernel in uv__io_poll afterwards? > Can we add it to kernel directly in uv__io_start? just like Windows IOCP > does.
The reason is efficiency: changes are batched to reduce the number of system calls. -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
