Ignore:
Timestamp:
Apr 14, 2021, 4:40:19 PM (8 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
a017ee7
Parents:
6a9b12b
Message:

Clusters now keep track of the active processors as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/startup.cfa

    r6a9b12b rfc59b580  
    492492        uint_fast32_t last_size = ready_mutate_register((__processor_id_t*)&this);
    493493                int target = this.cltr->procs.total += 1u;
     494                insert_last(this.cltr->procs.actives, this);
    494495
    495496                // Adjust the ready queue size
     
    507508        uint_fast32_t last_size = ready_mutate_lock();
    508509                int target = this.cltr->procs.total -= 1u;
     510                remove(this);
    509511
    510512                // Adjust the ready queue size
Note: See TracChangeset for help on using the changeset viewer.