Changeset 20ab637 for libcfa/src/concurrency/iocall.cfa
- Timestamp:
- Jul 10, 2020, 2:17:49 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 59f74a2
- Parents:
- 3a32b3a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/iocall.cfa
r3a32b3a r20ab637 128 128 #endif 129 129 } 130 131 ssize_t cfa_preadv2_fixed(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags) { 132 #if !defined(HAVE_LINUX_IO_URING_H) || !defined(IORING_OP_READV) 133 return preadv2(fd, iov, iovcnt, offset, flags); 134 #else 135 __submit_prelude 136 137 (*sqe){ IORING_OP_READV, fd, iov, iovcnt, offset }; 138 sqe->flags |= IOSQE_FIXED_FILE; 139 140 __submit_wait 141 #endif 142 } 130 143 #endif 131 144
Note: See TracChangeset
for help on using the changeset viewer.