Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 2 years ago
parent
commit
7a0178d4ae
  1. 6
      ev_epoll.c

6
ev_epoll.c

@ -236,7 +236,7 @@ epoll_poll (EV_P_ ev_tstamp timeout)
}
static int
ev_epoll_create (void)
epoll_epoll_create (void)
{
int fd;
@ -259,7 +259,7 @@ inline_size
int
epoll_init (EV_P_ int flags)
{
if ((backend_fd = ev_epoll_create ()) < 0)
if ((backend_fd = epoll_epoll_create ()) < 0)
return 0;
backend_mintime = 1e-3; /* epoll does sometimes return early, this is just to avoid the worst */
@ -286,7 +286,7 @@ epoll_fork (EV_P)
{
close (backend_fd);
while ((backend_fd = ev_epoll_create ()) < 0)
while ((backend_fd = epoll_epoll_create ()) < 0)
ev_syserr ("(libev) epoll_create");
fd_rearm_all (EV_A);

Loading…
Cancel
Save