Ignore:
Timestamp:
Oct 31, 2017, 11:17:46 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
0dc954b, 4cedd9f
Parents:
5434d04
Message:

Updated concurrency tests with bounded rand48

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/sched-ext-dtor.c

    r5434d04 re1e8408  
    4545
    4646void main( dummy_t & this ) {
    47         yield(((unsigned)rand48()) % 10);
     47        yield(rand48(10));
    4848        set_state( this, MAIN );
    4949        waitfor( ^?{}, this ) {
     
    5858        for( int i = 0; i < N; i++ ){
    5959                dummy_t dummy[4];
    60                 yield( ((unsigned)rand48()) % 100 );
     60                yield( rand48(100) );
    6161        }
    6262        sout | "Stopping" | endl;
Note: See TracChangeset for help on using the changeset viewer.