Ignore:
Timestamp:
Feb 18, 2025, 12:54:23 PM (6 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
8705a11
Parents:
3e5fea2
Message:

Clean-up the warnings of the concurrency tests. A lot of little test level fixes, the most interesting repeated one is some formally redundent fallthough statements. pthread_attr_test had to be rewritten because of library restrictions. Changed some types so they would always be pointer sized. There was a library change, there was a function that could not be implemented; I trust that it is included for a reason so I just put it in a comment. There is a change to the compiler, wait-until now uses goto. The labelled breaks were code generated as unlabelled breaks and although it worked out slipped through some checks. Finally, there is one warning that I cannot solve at this time so tests that produce it have been put in their own lax group.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/concurrency/channels/daisy_chain.cfa

    r3e5fea2 rd923fca  
    1717
    1818thread Task {};
    19 void main(Task & this) {
     19void main(Task &) {
    2020    size_t runs = 0;
    2121    int token = 0;
     
    4040            if ( Tasks < 1 ) fallthrough default;
    4141                } // if
     42                fallthrough;
    4243          case 2:
    4344                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
     
    4546                        if ( Processors < 1 ) fallthrough default;
    4647                } // if
     48                fallthrough;
    4749          case 1:                                                                                       // use defaults
    4850                break;
Note: See TracChangeset for help on using the changeset viewer.