Changeset be1d00c for tests/io


Ignore:
Timestamp:
Nov 30, 2022, 7:18:38 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
dd46fd3
Parents:
5a4b403
Message:

Changed fairness tests to use sched_yield in case exhausting the time slice is what causing test failures

Location:
tests/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/io/away_fair.cfa

    r5a4b403 rbe1d00c  
    4141
    4242                if(last == curr) {
    43                         Pause();
     43                        sched_yield();
    4444                        continue;
    4545                }
  • tests/io/comp_fair.cfa

    r5a4b403 rbe1d00c  
    5252
    5353                if(last == curr) {
    54                         Pause();
     54                        sched_yield();
    5555                        continue;
    5656                }
Note: See TracChangeset for help on using the changeset viewer.