diff --git a/Changes b/Changes index 6d1d7f2..08c45df 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for libev, a high-performance and full-featured event loop. TODO: ev_loop_prefork hint? +TODO: ev_loop_wakeup +TODO: confusion about threads ongiong - change the default periodic reschedule function to hopefully be more exact and correct even in corner cases or in the far future. diff --git a/ev.c b/ev.c index dc737b2..d92b0ed 100644 --- a/ev.c +++ b/ev.c @@ -1036,7 +1036,7 @@ fd_reify (EV_P) int fd = fdchanges [i]; ANFD *anfd = anfds + fd; - if (anfd->reify & EV__IOFDSET) + if (anfd->reify & EV__IOFDSET && anfd->head) { SOCKET handle = EV_FD_TO_WIN32_HANDLE (fd);