From: root Date: Mon, 12 Nov 2007 21:51:14 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-0_9~7 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/1fb0a278db3f57899f7eb970a4fde56377b6d9c0?ds=sidebyside *** empty log message *** --- diff --git a/ev.h b/ev.h index c82f5a1..f2ec3f2 100644 --- a/ev.h +++ b/ev.h @@ -303,7 +303,7 @@ unsigned int ev_method (EV_P); #define EVLOOP_NONBLOCK 1 /* do not block/wait */ #define EVLOOP_ONESHOT 2 /* block *once* only */ -#define EVUNLOOP_ONCE 1 /* unloop once */ +#define EVUNLOOP_ONE 1 /* unloop once */ #define EVUNLOOP_ALL 2 /* unloop all loops */ #if EV_PROTOTYPES diff --git a/ev.pod b/ev.pod index 616fea2..fae0718 100644 --- a/ev.pod +++ b/ev.pod @@ -243,7 +243,7 @@ more generic mechanism. Can be used to make a call to C return early (but only after it has processed all outstanding events). The C argument must be either -C, which will make the innermost C call return, or +C, which will make the innermost C call return, or C, which will make all nested C calls return. =item ev_ref (loop) diff --git a/event.c b/event.c index b24d702..7bcb804 100644 --- a/event.c +++ b/event.c @@ -347,7 +347,7 @@ x_loopexit_cb (int revents, void *base) { dLOOPbase; - ev_unloop (EV_A_ EVUNLOOP_ONCE); + ev_unloop (EV_A_ EVUNLOOP_ONE); } int event_base_loopexit (struct event_base *base, struct timeval *tv)