Changeset 4c4d854


Ignore:
Timestamp:
Feb 19, 2021, 3:18:12 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
150d21a
Parents:
d60d30e
Message:

Fixed broken initialization and add verify.

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

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

    rd60d30e r4c4d854  
    502502                if(ctx->revoked) return;
    503503
     504                /* paranoid */ verify( ctx->proc );
    504505                remove( this.assigned, *ctx );
    505506
  • libcfa/src/concurrency/io/setup.cfa

    rd60d30e r4c4d854  
    220220                (this.self){ "IO Poller", cl };
    221221                this.ext_sq.empty = true;
     222                this.revoked = true;
    222223                __io_uring_setup( this, cl.io.params );
    223224                __cfadbg_print_safe(io_core, "Kernel I/O : Created ring for io_context %u (%p)\n", this.fd, &this);
Note: See TracChangeset for help on using the changeset viewer.