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

Comparing libev/ev_iouring.c (file contents):
Revision 1.23 by root, Sun Jul 26 11:10:45 2020 UTC vs.
Revision 1.24 by root, Sat Oct 24 20:47:56 2020 UTC

325struct io_uring_sqe * 325struct io_uring_sqe *
326iouring_sqe_submit (EV_P_ struct io_uring_sqe *sqe) 326iouring_sqe_submit (EV_P_ struct io_uring_sqe *sqe)
327{ 327{
328 unsigned idx = sqe - EV_SQES; 328 unsigned idx = sqe - EV_SQES;
329 329
330 printf ("submit idx %d, op %d, fd %d, us5r %p, poll %d\n", idx, sqe->opcode, sqe->fd, sqe->user_data, sqe->poll_events);
331
332 EV_SQ_ARRAY [idx] = idx; 330 EV_SQ_ARRAY [idx] = idx;
333 ECB_MEMORY_FENCE_RELEASE; 331 ECB_MEMORY_FENCE_RELEASE;
334 ++EV_SQ_VAR (tail); 332 ++EV_SQ_VAR (tail);
335 /*ECB_MEMORY_FENCE_RELEASE; /* for the time being we assume this is not needed */ 333 /*ECB_MEMORY_FENCE_RELEASE; /* for the time being we assume this is not needed */
336 ++iouring_to_submit; 334 ++iouring_to_submit;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines