Changeset d96f7c4 for tests/concurrency/channels
- Timestamp:
- Jan 17, 2025, 3:46:34 PM (8 months ago)
- Branches:
- master
- Children:
- df56e25
- Parents:
- 3b340d68
- Location:
- tests/concurrency/channels
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/channels/barrier.cfa
r3b340d68 rd96f7c4 66 66 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 67 67 BarrierSize = ato( argv[2] ); 68 if ( Processors < 1 ) fallthr udefault;68 if ( Processors < 1 ) fallthrough default; 69 69 } // if 70 70 case 2: 71 71 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 72 72 Processors = ato( argv[1] ); 73 if ( Processors < 1 ) fallthr udefault;73 if ( Processors < 1 ) fallthrough default; 74 74 } // if 75 75 case 1: // use defaults -
tests/concurrency/channels/churn.cfa
r3b340d68 rd96f7c4 91 91 if ( strcmp( argv[3], "d" ) != 0 ) { // default ? 92 92 ChannelSize = ato( argv[3] ); 93 if ( ChannelSize < 1 ) fallthr udefault;93 if ( ChannelSize < 1 ) fallthrough default; 94 94 } // if 95 95 case 3: 96 96 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 97 97 Channels = ato( argv[2] ); 98 if ( Channels < 1 ) fallthr udefault;98 if ( Channels < 1 ) fallthrough default; 99 99 } // if 100 100 case 2: 101 101 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 102 102 Processors = ato( argv[1] ); 103 if ( Processors < 1 ) fallthr udefault;103 if ( Processors < 1 ) fallthrough default; 104 104 } // if 105 105 case 1: // use defaults -
tests/concurrency/channels/contend.cfa
r3b340d68 rd96f7c4 128 128 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 129 129 ChannelSize = ato( argv[2] ); 130 if ( ChannelSize < 1 ) fallthr udefault;130 if ( ChannelSize < 1 ) fallthrough default; 131 131 } // if 132 132 case 2: 133 133 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 134 134 Processors = ato( argv[1] ); 135 if ( Processors < 1 ) fallthr udefault;135 if ( Processors < 1 ) fallthrough default; 136 136 } // if 137 137 case 1: // use defaults -
tests/concurrency/channels/daisy_chain.cfa
r3b340d68 rd96f7c4 38 38 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 39 39 Tasks = ato( argv[2] ); 40 if ( Tasks < 1 ) fallthr udefault;40 if ( Tasks < 1 ) fallthrough default; 41 41 } // if 42 42 case 2: 43 43 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 44 44 Processors = ato( argv[1] ); 45 if ( Processors < 1 ) fallthr udefault;45 if ( Processors < 1 ) fallthrough default; 46 46 } // if 47 47 case 1: // use defaults -
tests/concurrency/channels/hot_potato.cfa
r3b340d68 rd96f7c4 43 43 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 44 44 Tasks = ato( argv[2] ); 45 if ( Tasks < 1 ) fallthr udefault;45 if ( Tasks < 1 ) fallthrough default; 46 46 } // if 47 47 case 2: 48 48 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 49 49 Processors = ato( argv[1] ); 50 if ( Processors < 1 ) fallthr udefault;50 if ( Processors < 1 ) fallthrough default; 51 51 } // if 52 52 case 1: // use defaults -
tests/concurrency/channels/pub_sub.cfa
r3b340d68 rd96f7c4 88 88 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 89 89 Tasks = ato( argv[2] ); 90 if ( Tasks < 1 ) fallthr udefault;90 if ( Tasks < 1 ) fallthrough default; 91 91 } // if 92 92 case 2: 93 93 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 94 94 Processors = ato( argv[1] ); 95 if ( Processors < 1 ) fallthr udefault;95 if ( Processors < 1 ) fallthrough default; 96 96 } // if 97 97 case 1: // use defaults
Note:
See TracChangeset
for help on using the changeset viewer.