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.39 by root, Mon Jul 1 20:34:31 2019 UTC vs.
Revision 1.40 by root, Mon Jul 1 20:35:17 2019 UTC

300 if (iocb->io.aio_buf) 300 if (iocb->io.aio_buf)
301 { 301 {
302 for (;;) 302 for (;;)
303 { 303 {
304 /* on all relevant kernels, io_cancel fails with EINPROGRESS on "success" */ 304 /* on all relevant kernels, io_cancel fails with EINPROGRESS on "success" */
305 if (expect_false (evsys_io_cancel (linuxaio_ctx, &iocb->io, (struct io_event *)0) == 09) 305 if (expect_false (evsys_io_cancel (linuxaio_ctx, &iocb->io, (struct io_event *)0) == 0))
306 break; 306 break;
307 307
308 if (expect_true (errno == EINPROGRESS)) 308 if (expect_true (errno == EINPROGRESS))
309 break; 309 break;
310 310

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines