… | |
… | |
2111 | for (pri = NUMPRI; pri--; ) |
2111 | for (pri = NUMPRI; pri--; ) |
2112 | while (pendingcnt [pri]) |
2112 | while (pendingcnt [pri]) |
2113 | { |
2113 | { |
2114 | ANPENDING *p = pendings [pri] + --pendingcnt [pri]; |
2114 | ANPENDING *p = pendings [pri] + --pendingcnt [pri]; |
2115 | |
2115 | |
2116 | /*assert (("libev: non-pending watcher on pending list", p->w->pending));*/ |
|
|
2117 | /* ^ this is no longer true, as pending_w could be here */ |
|
|
2118 | |
|
|
2119 | p->w->pending = 0; |
2116 | p->w->pending = 0; |
2120 | EV_CB_INVOKE (p->w, p->events); |
2117 | EV_CB_INVOKE (p->w, p->events); |
2121 | EV_FREQUENT_CHECK; |
2118 | EV_FREQUENT_CHECK; |
2122 | } |
2119 | } |
2123 | } |
2120 | } |