From b297584953bdc7c2ea0f79983e11b838852b02aa Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Apr 2009 09:51:19 +0000 Subject: *** empty log message *** --- Changes | 4 ++++ ev.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index b060273..f6aa0f6 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,10 @@ TODO: ev_time_freeze, ev_time_thaw TODO: ev_walk TODO: ev_stop_all TODO: fix signal handling(?) under win32 + - do not leave the event loop early just because we have no active + watchers, fixing a problem when embedding a kqueue loop + that has active kernel events but no registered watchers + (reported by blacksand blacksand). - correctly zero the idx values for arrays, so destroying and reinitialising the default loop actually works (patch by Malek Hadj-Ali). diff --git a/ev.c b/ev.c index 1b31139..ead4022 100644 --- a/ev.c +++ b/ev.c @@ -1999,9 +1999,6 @@ ev_loop (EV_P_ int flags) call_pending (EV_A); } - if (expect_false (!activecnt)) - break; - /* we might have forked, so reify kernel state if necessary */ if (expect_false (postfork)) loop_fork (EV_A); -- cgit v1.2.3