Changeset 496f92ed for tests/io


Ignore:
Timestamp:
Mar 2, 2022, 4:28:18 PM (3 years 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.

Location:
tests/io
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/io/away_fair.cfa

    r9f5a71eb r496f92ed  
    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.