Ignore:
Timestamp:
Mar 2, 2022, 4:28:18 PM (21 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
b0d0285
Parents:
9f5a71eb
Message:

Enabled away_fair test and added more randomness to it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/io/away_fair.cfa

    r9f5a71eb r496f92e  
    5555thread Submitter {};
    5656void ^?{}(Submitter &mutex ) {}
    57 void main(Submitter&) {
     57void main(Submitter & this) {
    5858        for(TIMES) {
    5959                #if CFA_HAVE_LINUX_IO_URING_H
     
    6868                #endif
    6969
    70                 yield();
     70                yield( prng( this, 15 ) );
    7171
    7272                #if CFA_HAVE_LINUX_IO_URING_H
Note: See TracChangeset for help on using the changeset viewer.