Changeset 426f60c for libcfa/src/concurrency/io/call.cfa.in
- Timestamp:
- Jan 12, 2021, 12:34:08 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 58f99b3
- Parents:
- 77fde9d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io/call.cfa.in
r77fde9d5 r426f60c 74 74 ; 75 75 76 extern [* struct io_uring_sqe, __u32] __submit_alloc( struct __io_data & ring, __u64 data );76 extern [* volatile struct io_uring_sqe, __u32] __submit_alloc( struct __io_data & ring, __u64 data ); 77 77 extern void __submit( struct io_context * ctx, __u32 idx ) __attribute__((nonnull (1))); 78 78 … … 221 221 222 222 __u32 idx; 223 struct io_uring_sqe * sqe;223 volatile struct io_uring_sqe * sqe; 224 224 [sqe, idx] = __submit_alloc( ring, (__u64)(uintptr_t)&future ); 225 225 … … 314 314 Call('ACCEPT', 'int accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)', { 315 315 'fd': 'sockfd', 316 'ioprio': '0', 316 317 'addr': '(__u64)addr', 317 318 'addr2': '(__u64)addrlen', … … 373 374 Call('READ', 'ssize_t read(int fd, void * buf, size_t count)', { 374 375 'fd': 'fd', 376 'off': '0', 375 377 'addr': '(__u64)buf', 376 378 'len': 'count' … … 379 381 Call('WRITE', 'ssize_t write(int fd, void * buf, size_t count)', { 380 382 'fd': 'fd', 383 'off': '0', 381 384 'addr': '(__u64)buf', 382 385 'len': 'count' … … 477 480 478 481 __u32 idx; 479 struct io_uring_sqe * sqe;482 volatile struct io_uring_sqe * sqe; 480 483 [sqe, idx] = __submit_alloc( ring, (__u64)(uintptr_t)&future ); 481 484
Note: See TracChangeset
for help on using the changeset viewer.