Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 6 years ago
parent
commit
4e4d63fd87
  1. 2
      ev.c
  2. 2
      ev_epoll.c

2
ev.c

@ -2918,7 +2918,7 @@ loop_fork (EV_P)
#endif
#if EV_SIGNAL_ENABLE || EV_ASYNC_ENABLE
if (ev_is_active (&pipe_w))
if (ev_is_active (&pipe_w) && postfork != 2)
{
/* pipe_write_wanted must be false now, so modifying fd vars should be safe */

2
ev_epoll.c

@ -179,7 +179,7 @@ epoll_poll (EV_P_ ev_tstamp timeout)
if (expect_false ((uint32_t)anfds [fd].egen != (uint32_t)(ev->data.u64 >> 32)))
{
/* recreate kernel state */
postfork = 1;
postfork |= 2;
continue;
}

Loading…
Cancel
Save