[timers] - triggering at the same time

Brandon Black blblack at gmail.com
Sun Dec 18 04:46:45 CET 2011

On Sat, Dec 17, 2011 at 8:25 PM, Neeraj Rai <rneeraj at yahoo.com> wrote:

> Let me refine the questions from the last email.

This may be a bit orthogonal to your primary questions or possibly
irrelevant, but if all of these timers have the same absolute duration, it
would be simplest to adopt strategy #4 from the ev_timer documentation and
manage them yourself in a doubly-linked list and a single ev_timer, and
maintain the firing order via the list order.  Or if you have a small set
of fixed absolute durations, a doubly-linked list + ev_timer for each

-- Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20111217/dc7caeab/attachment.html>

More information about the libev mailing list