Changeset 93829cb
- Timestamp:
- Mar 2, 2022, 2:11:32 PM (19 months ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 362f760
- Parents:
- ced2e855
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/protocol.cfa
rced2e855 r93829cb 173 173 } 174 174 175 static void zero_sqe(struct io_uring_sqe * sqe) {176 sqe->flags = 0;177 sqe->ioprio = 0;178 sqe->fd = 0;179 sqe->off = 0;180 sqe->addr = 0;181 sqe->len = 0;182 sqe->fsync_flags = 0;183 sqe->__pad2[0] = 0;184 sqe->__pad2[1] = 0;185 sqe->__pad2[2] = 0;186 sqe->fd = 0;187 sqe->off = 0;188 sqe->addr = 0;189 sqe->len = 0;190 }191 192 175 enum FSM_STATE { 193 176 Initial, -
libcfa/src/concurrency/iofwd.hfa
rced2e855 r93829cb 19 19 extern "C" { 20 20 #include <asm/types.h> 21 #include <sys/stat.h> // needed for mode_t 21 22 #if CFA_HAVE_LINUX_IO_URING_H 22 23 #include <linux/io_uring.h> … … 133 134 // Check if a function is blocks a only the user thread 134 135 bool has_user_level_blocking( fptr_t func ); 136 137 #if CFA_HAVE_LINUX_IO_URING_H 138 static inline void zero_sqe(struct io_uring_sqe * sqe) { 139 sqe->flags = 0; 140 sqe->ioprio = 0; 141 sqe->fd = 0; 142 sqe->off = 0; 143 sqe->addr = 0; 144 sqe->len = 0; 145 sqe->fsync_flags = 0; 146 sqe->__pad2[0] = 0; 147 sqe->__pad2[1] = 0; 148 sqe->__pad2[2] = 0; 149 sqe->fd = 0; 150 sqe->off = 0; 151 sqe->addr = 0; 152 sqe->len = 0; 153 } 154 #endif
Note: See TracChangeset
for help on using the changeset viewer.