Changeset 343d10e for libcfa/src/concurrency/ready_queue.cfa
- Timestamp:
- Aug 11, 2020, 5:38:42 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/ready_queue.cfa
r0d070ca r343d10e 419 419 // Actually pop the list 420 420 struct $thread * thrd; 421 bool emptied; 422 [thrd, emptied] = pop(lane); 421 thrd = pop(lane); 423 422 424 423 /* paranoid */ verify(thrd); … … 457 456 if(head(lane)->link.next == thrd) { 458 457 $thread * pthrd; 459 bool emptied; 460 [pthrd, emptied] = pop(lane); 458 pthrd = pop(lane); 461 459 462 460 /* paranoid */ verify( pthrd == thrd ); … … 608 606 while(!is_empty(lanes.data[idx])) { 609 607 struct $thread * thrd; 610 __attribute__((unused)) bool _; 611 [thrd, _] = pop(lanes.data[idx]); 608 thrd = pop(lanes.data[idx]); 612 609 613 610 push(cltr, thrd);
Note: See TracChangeset
for help on using the changeset viewer.