Changeset e8ac228 for libcfa/src


Ignore:
Timestamp:
Oct 29, 2021, 5:18:04 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
c2ba08a
Parents:
40a64f78
Message:

Fix major bug where to few items were submitted.

File:
1 edited

Legend:

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

    r40a64f78 re8ac228  
    309309                // Make the sqes visible to the submitter
    310310                __atomic_store_n(sq.kring.tail, tail + have, __ATOMIC_RELEASE);
    311                 sq.to_submit++;
     311                sq.to_submit += have;
    312312
    313313                ctx->proc->io.pending = true;
Note: See TracChangeset for help on using the changeset viewer.