Hi Saúl,

>
> Also, on top the above, creating and processing a timer requires 3 
> syscalls: timerfd_create, timerfd_gettime and read vs 0 if we keep the 
> min-heap. 
>
 
Delegation of the timers to the kernel will certainly free libuv from some 
code in addition to bring a far better precision. The timerfd_* syscalls 
was not added without reason into the Linux kernel.
The read() is not required if you don't want the number of expirations that 
have occurred. The integration of the file descriptor into the existing 
epoll() syscall is enough.

Regards,

Jean-Christian

-- 
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.

Reply via email to