Ignore:
Timestamp:
Apr 1, 2022, 2:29:58 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
a18373a
Parents:
5f53cc3
Message:

barrier/order test now yields for more chaos

File:
1 edited

Legend:

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

    r5f53cc3 r5b7fea7  
    3333
    3434thread Tester {};
    35 void main( Tester & ) {
     35void main( Tester & this ) {
    3636        // Repeat a few times
    3737        for(l; NUM_LAPS) {
     38                // Yield for chaos
     39                yield(prng(this, 10));
     40
    3841                // Block and what order we arrived
    3942                unsigned ret = block(bar);
Note: See TracChangeset for help on using the changeset viewer.