Changeset 5e0b6657 for tests/concurrency/barrier
- Timestamp:
- Dec 8, 2025, 11:29:33 AM (4 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- 79ba50c
- Parents:
- 8f448e0 (diff), 79ec8c3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- tests/concurrency/barrier
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/barrier/generation.cfa
r8f448e0 r5e0b6657 20 20 unsigned NUM_LAPS = 53; 21 21 22 #include < concurrency/barrier.hfa>22 #include <barrier.hfa> 23 23 #include <fstream.hfa> 24 24 #include <mutex_stmt.hfa> … … 45 45 46 46 // Block on the barrier 47 block( bar);47 block( bar ); 48 48 } 49 49 } -
tests/concurrency/barrier/last.cfa
r8f448e0 r5e0b6657 17 17 // function is called at the appropriate time. 18 18 19 #include < concurrency/barrier.hfa>19 #include <barrier.hfa> 20 20 #include <fstream.hfa> 21 21 #include <mutex_stmt.hfa> … … 34 34 volatile unsigned validate_calls = 0; 35 35 36 void validate( ) {36 void validate(...) { 37 37 unsigned vc = validate_calls; 38 38 unsigned expected = generation[0]; -
tests/concurrency/barrier/order.cfa
r8f448e0 r5e0b6657 10 10 // Created On : Fri Apr 01 11:39:09 2022 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Nov 10 11:22:56 202413 // Update Count : 2 012 // Last Modified On : Mon Oct 27 22:44:36 2025 13 // Update Count : 22 14 14 // 15 15 … … 24 24 25 25 volatile unsigned generation = 0; // count laps 26 void last( ) {26 void last( ... ) { 27 27 generation += 1; // last thread at barrier advances 28 28 }
Note:
See TracChangeset
for help on using the changeset viewer.