ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_linuxaio.c
(Generate patch)

Comparing libev/ev_linuxaio.c (file contents):
Revision 1.30 by root, Tue Jun 25 17:54:02 2019 UTC vs.
Revision 1.31 by root, Tue Jun 25 18:00:42 2019 UTC

424 /* ignored */; 424 /* ignored */;
425 else 425 else
426 ev_syserr ("(libev) linuxaio io_getevents"); 426 ev_syserr ("(libev) linuxaio io_getevents");
427 else if (res) 427 else if (res)
428 { 428 {
429 /* at least one event received, handle it and any remaining ones in the ring buffer */ 429 /* at least one event available, handle it and any remaining ones in the ring buffer */
430 linuxaio_parse_events (EV_A_ ioev, res); 430 linuxaio_parse_events (EV_A_ ioev, res);
431 linuxaio_get_events_from_ring (EV_A); 431 linuxaio_get_events_from_ring (EV_A);
432 } 432 }
433} 433}
434 434
435static int 435inline_size
436int
436linuxaio_io_setup (EV_P) 437linuxaio_io_setup (EV_P)
437{ 438{
438 linuxaio_ctx = 0; 439 linuxaio_ctx = 0;
439 return evsys_io_setup (linuxaio_nr_events (EV_A), &linuxaio_ctx); 440 return evsys_io_setup (linuxaio_nr_events (EV_A), &linuxaio_ctx);
440} 441}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines