Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 1 year ago
parent
commit
788d3880e6
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      Changes
  2. +1
    -1
      ev.c

+ 4
- 0
Changes View File

@ -3,6 +3,10 @@ Revision history for libev, a high-performance and full-featured event loop.
TODO: revisit 59.x timer in the light of modern powersaving
TODO: document EV_TSTAMP_T
- the new timerfd code wrongly changed the priority of ther signal
fd watcher, which is usuallys harmless unless signal fds are
also used.
4.31 Fri Dec 20 21:58:29 CET 2019
- handle backends with minimum wait time a bit better by not
waiting in the presence of already-expired timers


+ 1
- 1
ev.c View File

@ -2915,7 +2915,7 @@ evtimerfd_init (EV_P)
fd_intern (timerfd); /* just to be sure */
ev_io_init (&timerfd_w, timerfdcb, timerfd, EV_READ);
ev_set_priority (&sigfd_w, EV_MINPRI);
ev_set_priority (&timerfd_w, EV_MINPRI);
ev_io_start (EV_A_ &timerfd_w);
ev_unref (EV_A); /* watcher should not keep loop alive */


Loading…
Cancel
Save