Ignore:
Timestamp:
Jul 24, 2020, 1:11:39 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
39fc03e
Parents:
f4ec4a90
Message:

Changed ready_queue_(grow/shrink) to take a target instead of going incrementing

File:
1 edited

Legend:

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

    rf4ec4a90 r320ec6fc  
    148148
    149149static inline void arrive( __snzi_t & this, int idx) {
     150        idx >>= 2;
    150151        idx &= this.mask;
    151152        arrive( this.nodes[idx] );
     
    153154
    154155static inline void depart( __snzi_t & this, int idx) {
     156        idx >>= 2;
    155157        idx &= this.mask;
    156158        depart( this.nodes[idx] );
Note: See TracChangeset for help on using the changeset viewer.