Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 2 years ago
parent
commit
8cab6a6107
  1. 5
      ev_linuxaio.c

5
ev_linuxaio.c

@ -244,7 +244,10 @@ linuxaio_get_events_from_ring (EV_P)
linuxaio_parse_events (EV_A_ ring->io_events, tail);
}
ring->head = tail;
*(volatile unsigned *)&ring->head = tail;
/* again, other implementations don't do this, but I think it's required for the kernel to see free slots */
ECB_MEMORY_FENCE_RELEASE;
return 1;
}

Loading…
Cancel
Save