Changes in / [dfd3410:8f2f185]
- File:
-
- 1 edited
-
libcfa/src/concurrency/io.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
rdfd3410 r8f2f185 635 635 636 636 // We can proceed to the fast path 637 if( !__alloc(ctx, &idx, 1) ) { 638 /* paranoid */ verify( false ); // for now check if this happens, next time just abort the sleep. 639 return false; 640 } 637 if( !__alloc(ctx, &idx, 1) ) return false; 641 638 642 639 // Allocation was successful … … 668 665 669 666 /* paranoid */ verify( sqe->user_data == (uintptr_t)&future ); 670 __submit _only( ctx, &idx, 1);667 __submit( ctx, &idx, 1, true ); 671 668 672 669 /* paranoid */ verify( proc == __cfaabi_tls.this_processor ); … … 693 690 } 694 691 695 if( !__atomic_load_n( &proc->do_terminate, __ATOMIC_SEQ_CST ) ) { 696 __ioarbiter_flush( *proc->io.ctx ); 697 ioring_syscsll( *proc->io.ctx, 1, IORING_ENTER_GETEVENTS); 698 } 692 __ioarbiter_flush( *proc->io.ctx ); 693 ioring_syscsll( *proc->io.ctx, 1, IORING_ENTER_GETEVENTS); 699 694 700 695 ready_schedule_lock();
Note:
See TracChangeset
for help on using the changeset viewer.