diff options
-rw-r--r-- | ev.h | 2 | ||||
-rw-r--r-- | ev.pod | 2 | ||||
-rw-r--r-- | event.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 @@ -243,7 +243,7 @@ more generic mechanism. Can be used to make a call to C<ev_loop> return early (but only after it has processed all outstanding events). The C<how> argument must be either -C<EVUNLOOP_ONCE>, which will make the innermost C<ev_loop> call return, or +C<EVUNLOOP_ONE>, which will make the innermost C<ev_loop> call return, or C<EVUNLOOP_ALL>, which will make all nested C<ev_loop> calls return. =item ev_ref (loop) @@ -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) |