Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 2 years ago
parent
commit
b499e38a35
  1. 2
      ev_linuxaio.c

2
ev_linuxaio.c

@ -336,7 +336,7 @@ linuxaio_get_events_from_ring (EV_P)
return 0;
/* parse all available events, but only once, to avoid starvation */
if (tail > head) /* normal case around */
if (ecb_expect_true (tail > head)) /* normal case around */
linuxaio_parse_events (EV_A_ ring->io_events + head, tail - head);
else /* wrapped around */
{

Loading…
Cancel
Save