… | |
… | |
2096 | EV_FREQUENT_CHECK; |
2096 | EV_FREQUENT_CHECK; |
2097 | feed_reverse (EV_A_ (W)w); |
2097 | feed_reverse (EV_A_ (W)w); |
2098 | } |
2098 | } |
2099 | while (timercnt && ANHE_at (timers [HEAP0]) < mn_now); |
2099 | while (timercnt && ANHE_at (timers [HEAP0]) < mn_now); |
2100 | |
2100 | |
2101 | feed_reverse_done (EV_A_ EV_TIMEOUT); |
2101 | feed_reverse_done (EV_A_ EV_TIMER); |
2102 | } |
2102 | } |
2103 | } |
2103 | } |
2104 | |
2104 | |
2105 | #if EV_PERIODIC_ENABLE |
2105 | #if EV_PERIODIC_ENABLE |
2106 | /* make periodics pending */ |
2106 | /* make periodics pending */ |
… | |
… | |
3636 | { |
3636 | { |
3637 | struct ev_once *once = (struct ev_once *)ev_malloc (sizeof (struct ev_once)); |
3637 | struct ev_once *once = (struct ev_once *)ev_malloc (sizeof (struct ev_once)); |
3638 | |
3638 | |
3639 | if (expect_false (!once)) |
3639 | if (expect_false (!once)) |
3640 | { |
3640 | { |
3641 | cb (EV_ERROR | EV_READ | EV_WRITE | EV_TIMEOUT, arg); |
3641 | cb (EV_ERROR | EV_READ | EV_WRITE | EV_TIMER, arg); |
3642 | return; |
3642 | return; |
3643 | } |
3643 | } |
3644 | |
3644 | |
3645 | once->cb = cb; |
3645 | once->cb = cb; |
3646 | once->arg = arg; |
3646 | once->arg = arg; |