diff options
author | root <root> | 2010-10-21 12:32:47 +0000 |
---|---|---|
committer | root <root> | 2010-10-21 12:32:47 +0000 |
commit | 6f0d3cb475e52576be15d46194e09d01c54c7de4 (patch) | |
tree | 11882d1e81802b83f9f15af48a227ccc5dcd91dd /event.c | |
parent | 0aa781a3bca6d71933d42a757e501b376fa73c29 (diff) |
*** empty log message ***
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -140,7 +140,7 @@ int event_loopexit (struct timeval *tv) static void ev_x_cb (struct event *ev, int revents) { - revents &= EV_READ | EV_WRITE | EV_TIMEOUT | EV_SIGNAL; + revents &= EV_READ | EV_WRITE | EV_TIMER | EV_SIGNAL; ev->ev_res = revents; ev->ev_callback (ev->ev_fd, (short)revents, ev->ev_arg); @@ -327,7 +327,7 @@ int event_base_loop (struct event_base *base, int flags) { dLOOPbase; - ev_loop (EV_A_ flags); + ev_run (EV_A_ flags); return 0; } @@ -342,7 +342,7 @@ ev_x_loopexit_cb (int revents, void *base) { dLOOPbase; - ev_unloop (EV_A_ EVUNLOOP_ONE); + ev_break (EV_A_ EVBREAK_ONE); } int event_base_loopexit (struct event_base *base, struct timeval *tv) |