diff options
author | root <root> | 2007-11-12 21:51:14 +0000 |
---|---|---|
committer | root <root> | 2007-11-12 21:51:14 +0000 |
commit | 1fb0a278db3f57899f7eb970a4fde56377b6d9c0 (patch) | |
tree | a233816f921ba65b1ee926e171965b48241121d7 | |
parent | 41a098dde97e50ab992166256ba6da1ffc2e431c (diff) |
*** empty log message ***
-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) |