summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-02-26 15:21:01 +0000
committerroot <root>2011-02-26 15:21:01 +0000
commit643f2a6c50a99d6414797ba9a6313a02a6530994 (patch)
treee304a750537a829fd22f375744904aa227bd755a
parent0f68b5255946bf62bdee27381e92fc89c4023a0d (diff)
*** empty log message ***
-rw-r--r--Changes2
-rw-r--r--ev.c2
2 files changed, 3 insertions, 1 deletions
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);