… | |
… | |
1277 | : EVUNLOOP_CANCEL; |
1277 | : EVUNLOOP_CANCEL; |
1278 | |
1278 | |
1279 | while (activecnt) |
1279 | while (activecnt) |
1280 | { |
1280 | { |
1281 | /* we might have forked, so reify kernel state if necessary */ |
1281 | /* we might have forked, so reify kernel state if necessary */ |
|
|
1282 | #if EV_FORK_ENABLE |
1282 | if (expect_false (postfork)) |
1283 | if (expect_false (postfork)) |
1283 | if (forkcnt) |
1284 | if (forkcnt) |
1284 | { |
1285 | { |
1285 | queue_events (EV_A_ (W *)forks, forkcnt, EV_FORK); |
1286 | queue_events (EV_A_ (W *)forks, forkcnt, EV_FORK); |
1286 | call_pending (EV_A); |
1287 | call_pending (EV_A); |
1287 | } |
1288 | } |
|
|
1289 | #endif |
1288 | |
1290 | |
1289 | /* queue check watchers (and execute them) */ |
1291 | /* queue check watchers (and execute them) */ |
1290 | if (expect_false (preparecnt)) |
1292 | if (expect_false (preparecnt)) |
1291 | { |
1293 | { |
1292 | queue_events (EV_A_ (W *)prepares, preparecnt, EV_PREPARE); |
1294 | queue_events (EV_A_ (W *)prepares, preparecnt, EV_PREPARE); |