Changeset e5628db for libcfa


Ignore:
Timestamp:
May 12, 2022, 3:10:58 PM (4 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
8060b2b, f835806
Parents:
f75e25b (diff), 491bb81 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
libcfa/src
Files:
3 edited

Legend:

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

    rf75e25b re5628db  
    244244
    245245                                        remote = true;
    246                                         __STATS__( false, io.calls.helped++; )
     246                                        __STATS__( true, io.calls.helped++; )
    247247                                }
    248248                                proc->io.target = MAX;
  • libcfa/src/concurrency/ready_subqueue.hfa

    rf75e25b re5628db  
    8383        /* paranoid */ verify( node->link.ts   != 0  );
    8484        /* paranoid */ verify( this.anchor.ts  != 0  );
     85        /* paranoid */ verify( (this.anchor.ts  == MAX) == is_empty );
    8586        return [node, this.anchor.ts];
    8687}
     
    9394// Return the timestamp
    9495static inline unsigned long long ts(__intrusive_lane_t & this) {
    95         // Cannot verify here since it may not be locked
     96        // Cannot verify 'emptiness' here since it may not be locked
    9697        /* paranoid */ verify(this.anchor.ts != 0);
    9798        return this.anchor.ts;
  • libcfa/src/parseargs.cfa

    rf75e25b re5628db  
    208208        }
    209209
     210        if(strcmp(arg, "Y") == 0) {
     211                value = true;
     212                return true;
     213        }
     214
     215        if(strcmp(arg, "y") == 0) {
     216                value = true;
     217                return true;
     218        }
     219
    210220        if(strcmp(arg, "no") == 0) {
     221                value = false;
     222                return true;
     223        }
     224
     225        if(strcmp(arg, "N") == 0) {
     226                value = false;
     227                return true;
     228        }
     229
     230        if(strcmp(arg, "n") == 0) {
    211231                value = false;
    212232                return true;
Note: See TracChangeset for help on using the changeset viewer.