Ignore:
Timestamp:
Aug 11, 2020, 5:38:42 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:
7ff3e522, a77257be
Parents:
0d070ca
Message:

Removed code broken in new-ast out of libcfa

File:
1 edited

Legend:

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

    r0d070ca r343d10e  
    419419        // Actually pop the list
    420420        struct $thread * thrd;
    421         bool emptied;
    422         [thrd, emptied] = pop(lane);
     421        thrd = pop(lane);
    423422
    424423        /* paranoid */ verify(thrd);
     
    457456                        if(head(lane)->link.next == thrd) {
    458457                                $thread * pthrd;
    459                                 bool emptied;
    460                                 [pthrd, emptied] = pop(lane);
     458                                pthrd = pop(lane);
    461459
    462460                                /* paranoid */ verify( pthrd == thrd );
     
    608606                        while(!is_empty(lanes.data[idx])) {
    609607                                struct $thread * thrd;
    610                                 __attribute__((unused)) bool _;
    611                                 [thrd, _] = pop(lanes.data[idx]);
     608                                thrd = pop(lanes.data[idx]);
    612609
    613610                                push(cltr, thrd);
Note: See TracChangeset for help on using the changeset viewer.