Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 5 years ago
parent
commit
4e4d63fd87
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ev.c
  2. +1
    -1
      ev_epoll.c

+ 1
- 1
ev.c View File

@ -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 */


+ 1
- 1
ev_epoll.c View File

@ -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