On Mon, Sep 29, 2014 at 8:24 AM, Saúl Ibarra Corretgé <[email protected]> wrote: > timerfd would create a file descriptor per timer, that's one million fds > if we have one million timers, vs 0 fds which the current implementation > uses.
That's not strictly necessary. Libuv could use a per-event loop timerfd and multiplex timers on top of that. There would be some system call overhead - an extra timerfd_settime() call before some/most calls to epoll_wait() - but it's probably not hugely expensive. -- 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.
