Changes in libcfa/src/concurrency/io.cfa [fe9468e2:8fc652e0]
- File:
-
- 1 edited
-
libcfa/src/concurrency/io.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
rfe9468e2 r8fc652e0 160 160 static inline void process(struct io_uring_cqe & cqe ) { 161 161 struct io_future_t * future = (struct io_future_t *)(uintptr_t)cqe.user_data; 162 __cfadbg_print_safe( io, "Kernel I/O : Syscall completed : cqe %p, result %d for %p\n", &cqe, cqe.res, future);162 __cfadbg_print_safe( io, "Kernel I/O : Syscall completed : cqe %p, result %d for %p\n", future, cqe.res, data->thrd ); 163 163 164 164 fulfil( *future, cqe.res ); … … 298 298 __u32 mask = *ring.submit_q.mask; 299 299 300 __u32 off = thread_rand(); 300 disable_interrupts(); 301 __u32 off = __tls_rand(); 302 enable_interrupts( __cfaabi_dbg_ctx ); 301 303 302 304 // Loop around looking for an available spot … … 342 344 __u32 ready_mask = ring.submit_q.ready_cnt - 1; 343 345 344 __u32 off = thread_rand(); 346 disable_interrupts(); 347 __u32 off = __tls_rand(); 348 enable_interrupts( __cfaabi_dbg_ctx ); 345 349 346 350 __u32 picked;
Note:
See TracChangeset
for help on using the changeset viewer.