Ignore:
Timestamp:
Apr 14, 2021, 4:28:55 PM (3 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:
fc59b580
Parents:
a7504db
Message:

Incremental change towards having the cluster keep a list of active processors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.hfa

    ra7504db r6a9b12b  
    180180
    181181// Idle Sleep
    182 struct __cluster_idles {
     182struct __cluster_proc_list {
    183183        // Spin lock protecting the queue
    184184        volatile uint64_t lock;
     
    191191
    192192        // List of idle processors
    193         dlist(processor, processor) list;
     193        dlist(processor, processor) idles;
    194194};
    195195
     
    207207
    208208        // List of idle processors
    209         __cluster_idles idles;
     209        __cluster_proc_list procs;
    210210
    211211        // List of threads
Note: See TracChangeset for help on using the changeset viewer.