mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
parent
7cfeb54bef
commit
4e4d63fd87
2
ev.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 */
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue