*** empty log message ***

This commit is contained in:
Marc Alexander Lehmann 2019-07-08 02:45:43 +00:00
parent a166393aaa
commit 1a32d2e624
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@ Revision history for libev, a high-performance and full-featured event loop.
TODO: revisit 59.x timer in the light of mdoenr powersaving
TODO: maybe use timerfd to detect time jumps on linux
- linuxaio backend resulted in random memory corruption
when loop is forked.
- linuxaio backend might have tried to cancel an iocb
multiple times (was unable to trigger this).
- io_cancel can return EINTR, deal with it. also, assume

View File

@ -589,9 +589,9 @@ ecb_cold
static void
linuxaio_fork (EV_P)
{
/* this frees all iocbs, which is very heavy-handed */
linuxaio_destroy (EV_A);
linuxaio_submitcnt = 0; /* all pointers were invalidated */
linuxaio_free_iocp (EV_A); /* this frees all iocbs, which is very heavy-handed */
evsys_io_destroy (linuxaio_ctx); /* fails in child, aio context is destroyed */
linuxaio_iteration = 0; /* we start over in the child */