Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 2 years ago
parent
commit
1a32d2e624
  1. 2
      Changes
  2. 4
      ev_linuxaio.c

2
Changes

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

4
ev_linuxaio.c

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

Loading…
Cancel
Save