Ignore:
Timestamp:
May 8, 2018, 11:55:33 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
5fec3f6
Parents:
10cfad9
Message:

Ground work for quiescing processors and update/remove TL_GET/TL_SETs. Still work to be done in both cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel

    r10cfad9 r14a61b5  
    5353        // Preemption rate on this cluster
    5454        Duration preemption_rate;
     55
     56        // List of idle processors
     57        // __dllist_t(struct processor) idles;
    5558};
    5659
     
    124127        bool pending_preemption;
    125128
     129        struct {
     130                pthread_mutex_t lock;
     131                pthread_cond_t  cond;
     132        } idle;
     133
    126134#ifdef __CFA_DEBUG__
    127135        // Last function to enable preemption on this processor
Note: See TracChangeset for help on using the changeset viewer.