Changeset 4479890 for libcfa/src/concurrency/kernel.cfa
- Timestamp:
- Mar 22, 2022, 4:59:53 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 1a567d0
- Parents:
- 0521a1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r0521a1a r4479890 136 136 static void mark_awake(__cluster_proc_list & idles, processor & proc); 137 137 138 extern bool __cfa_io_drain( $io_context *, cluster * cltr);138 extern bool __cfa_io_drain( processor * proc ) __attribute__((nonnull (1))); 139 139 extern bool __cfa_io_flush( processor *, int min_comp ); 140 140 static inline bool __maybe_io_drain( processor * ); … … 829 829 830 830 static inline bool __maybe_io_drain( processor * proc ) { 831 /* paranoid */ verify( proc ); 831 832 bool ret = false; 832 833 #if defined(CFA_HAVE_LINUX_IO_URING_H) … … 839 840 if(head == tail) return false; 840 841 ready_schedule_lock(); 841 ret = __cfa_io_drain( ctx, proc->cltr);842 ret = __cfa_io_drain( proc ); 842 843 ready_schedule_unlock(); 843 844 #endif
Note: See TracChangeset
for help on using the changeset viewer.