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/actors/executor.cfa

    r3e5fea2 rd923fca  
    2424struct d_msg { inline message; } shared_msg;
    2525
    26 allocation receive( d_actor & this, d_msg & msg ) with( this ) {
     26allocation receive( d_actor & this, d_msg & ) with( this ) {
    2727        if ( recs == rounds ) return Finished;
    2828        if ( recs % Batch == 0 ) {
     
    4343                        if ( BufSize < 0 ) fallthrough default;
    4444                } // if
     45                fallthrough;
    4546          case 6:
    4647                if ( strcmp( argv[5], "d" ) != 0 ) {                    // default ?
     
    4849                        if ( Batch < 1 ) fallthrough default;
    4950                } // if
     51                fallthrough;
    5052          case 5:
    5153                if ( strcmp( argv[4], "d" ) != 0 ) {                    // default ?
     
    5355                        if ( Processors < 1 ) fallthrough default;
    5456                } // if
     57                fallthrough;
    5558          case 4:
    5659                if ( strcmp( argv[3], "d" ) != 0 ) {                    // default ?
     
    5861                        if ( Rounds < 1 ) fallthrough default;
    5962                } // if
     63                fallthrough;
    6064          case 3:
    6165                if ( strcmp( argv[2], "d" ) != 0 ) {                    // default ?
     
    6367                        if ( Set < 1 ) fallthrough default;
    6468                } // if
     69                fallthrough;
    6570          case 2:
    6671                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
     
    6873                        if ( Actors < 1 || Actors <= Set || Actors % Set != 0 ) fallthrough default;
    6974                } // if
     75                fallthrough;
    7076          case 1:                                                                                       // use defaults
    7177                break;
Note: See TracChangeset for help on using the changeset viewer.