diff options
author | root <root> | 2007-11-27 11:11:13 +0000 |
---|---|---|
committer | root <root> | 2007-11-27 11:11:13 +0000 |
commit | 52b9969b0f7befd5965ad9826d9942897fc4dbce (patch) | |
tree | 0dedc4684af55e3a056bb7372b408d2968f47183 /ev.c | |
parent | a4abdd1b14e94e79de614c7ea5a7fa754725b988 (diff) |
*** empty log message ***rel-1_4
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1279,12 +1279,14 @@ ev_loop (EV_P_ int flags) while (activecnt) { /* we might have forked, so reify kernel state if necessary */ - if (expect_false (postfork)) - if (forkcnt) - { - queue_events (EV_A_ (W *)forks, forkcnt, EV_FORK); - call_pending (EV_A); - } + #if EV_FORK_ENABLE + if (expect_false (postfork)) + if (forkcnt) + { + queue_events (EV_A_ (W *)forks, forkcnt, EV_FORK); + call_pending (EV_A); + } + #endif /* queue check watchers (and execute them) */ if (expect_false (preparecnt)) |