Changeset 7bc84b8 for tests/concurrent


Ignore:
Timestamp:
Nov 21, 2022, 9:04:47 PM (18 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
d41735a
Parents:
857081e
Message:

remove unsigned cast for prng calls

Location:
tests/concurrent
Files:
3 edited

Legend:

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

    r857081e r7bc84b8  
    3737                for(c; 'A' ~= 'Z') {
    3838                        // Yield for chaos
    39                         yield( (unsigned)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( (unsigned)prng(this, 10) );
     45                        yield( prng(this, 10) );
    4646
    4747                        // Block on the barrier
  • tests/concurrent/barrier/order.cfa

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

    r857081e r7bc84b8  
    3030
    3131                // sometime yields
    32                 yield( (unsigned)prng(this, 3) );
     32                yield( prng(this, 3) );
    3333        }
    3434}
Note: See TracChangeset for help on using the changeset viewer.