Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 6 years ago
parent
commit
69318a0bc7
2 changed files with 6 additions and 1 deletions
  1. +2
    -0
      Changes
  2. +4
    -1
      ev_epoll.c

+ 2
- 0
Changes View File

@ -15,6 +15,8 @@ TODO: document portbaility requirements for atomic pointer access
TODO: possible cb aliasing?
TODO: document requirements for function piinters and calling conventions.
- events on files were not always generated properly with the
epoll backend (testcase by Assaf Inbal).
- mark event pipe fd as cloexec after a fork (analyzed by Sami Farin).
- (ecb) support m68k, m88k and sh (patch by Miod Vallat).
- use a reasonable fallback for EV_NSIG instead of erroring out


+ 4
- 1
ev_epoll.c View File

@ -228,7 +228,10 @@ epoll_poll (EV_P_ ev_tstamp timeout)
if (anfds [fd].emask & EV_EMASK_EPERM && events)
fd_event (EV_A_ fd, events);
else
epoll_eperms [i] = epoll_eperms [--epoll_epermcnt];
{
epoll_eperms [i] = epoll_eperms [--epoll_epermcnt];
anfds [fd].emask = 0;
}
}
}


Loading…
Cancel
Save