Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 14 years ago
parent
commit
7ac7bc108b
  1. 2
      ev.h
  2. 2
      ev.pod
  3. 4
      event.c

2
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

2
ev.pod

@ -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)

4
event.c

@ -108,7 +108,7 @@ void event_base_free (struct event_base *base)
dLOOPbase;
#if EV_MULTIPLICITY
if (ev_default_loop (EVMETHOD_AUTO) != loop)
if (ev_default_loop (EVFLAG_AUTO) != loop)
ev_loop_destroy (loop);
#endif
}
@ -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)

Loading…
Cancel
Save