Changeset 29702ad for tests/concurrent


Ignore:
Timestamp:
Nov 22, 2022, 10:18:04 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
20cf96d
Parents:
1553a55 (diff), d41735a (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:
tests/concurrent
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/barrier/generation.cfa

    r1553a55 r29702ad  
    3737                for(c; 'A' ~= 'Z') {
    3838                        // Yield for chaos
    39                         yield(prng(this, 10));
     39                        yield( prng(this, 10) );
    4040
    4141                        // Print the generation, no newline because
     
    4343
    4444                        // Yield again for more chaos
    45                         yield(prng(this, 10));
     45                        yield( prng(this, 10) );
    4646
    4747                        // Block on the barrier
  • tests/concurrent/barrier/order.cfa

    r1553a55 r29702ad  
    3737        for(l; NUM_LAPS) {
    3838                // Yield for chaos
    39                 yield(prng(this, 10));
     39                yield( prng(this, 10) );
    4040
    4141                // Block and what order we arrived
  • tests/concurrent/once.cfa

    r1553a55 r29702ad  
    3030
    3131                // sometime yields
    32                 yield(prng(this, 3));
     32                yield( prng(this, 3) );
    3333        }
    3434}
  • tests/concurrent/readyQ/leader_spin.cfa

    r1553a55 r29702ad  
    2626}
    2727
    28 PRNG lead_rng;
     28PRNG64 lead_rng;
    2929volatile unsigned leader;
    3030volatile size_t lead_idx;
    3131
    32 const unsigned nthreads = 17;
    33 const unsigned stop_count = 327;
     32const uint64_t nthreads = 17;
     33const uint64_t stop_count = 327;
    3434
    3535thread$ * the_main;
Note: See TracChangeset for help on using the changeset viewer.