X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/e47953f244654c540fd11cdce71f46c6dd5a7b64..9ed25a080c823727fa23609c493b3f77585581e2:/ev.c diff --git a/ev.c b/ev.c index e83a1b5..1e008e5 100644 --- a/ev.c +++ b/ev.c @@ -1317,7 +1317,7 @@ ev_loop (EV_P_ int flags) periodics_reify (EV_A); /* absolute timers called first */ #endif - /* queue idle watchers unless io or timers are pending */ + /* queue idle watchers unless other events are pending */ if (idlecnt && !any_pending (EV_A)) queue_events (EV_A_ (W *)idles, idlecnt, EV_IDLE); @@ -1674,7 +1674,7 @@ ev_child_stop (EV_P_ ev_child *w) #if EV_MULTIPLICITY void -ev_embed_loop (EV_P_ ev_embed *w) +ev_embed_sweep (EV_P_ ev_embed *w) { ev_loop (w->loop, EVLOOP_NONBLOCK); } @@ -1687,7 +1687,7 @@ embed_cb (EV_P_ ev_io *io, int revents) if (ev_cb (w)) ev_feed_event (EV_A_ (W)w, EV_EMBED); else - ev_embed_loop (loop, w); + ev_embed_sweep (loop, w); } void