Changes in / [dfd3410:8f2f185]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io.cfa

    rdfd3410 r8f2f185  
    635635
    636636                        // 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;
    641638
    642639                        // Allocation was successful
     
    668665
    669666                        /* paranoid */ verify( sqe->user_data == (uintptr_t)&future );
    670                         __submit_only( ctx, &idx, 1 );
     667                        __submit( ctx, &idx, 1, true );
    671668
    672669                        /* paranoid */ verify( proc == __cfaabi_tls.this_processor );
     
    693690                        }
    694691
    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);
    699694
    700695                        ready_schedule_lock();
Note: See TracChangeset for help on using the changeset viewer.