- Timestamp:
- May 6, 2023, 1:28:27 PM (19 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- a32a887
- Parents:
- dd7a8ce
- Location:
- tests/concurrent/waituntil
- Files:
-
- 10 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/waituntil/channels-SPSC.cfa
rdd7a8ce r85e49a6 43 43 } 44 44 printf("waiting for empty channels\n"); 45 while( get_count( A ) > 0 || get_count( B ) > 0 || get_count( C ) > 0 ) { } 45 size_t A_count = get_count( A ); 46 size_t B_count = get_count( B ); 47 size_t C_count = get_count( C ); 48 while( A_count > 0 || B_count > 0 || C_count > 0 ) { 49 A_count = get_count( A ); 50 B_count = get_count( B ); 51 C_count = get_count( C ); 52 } 46 53 printf("sending sentinels\n"); 47 54 for ( i; numServers ) insert( C, -1 );
Note: See TracChangeset
for help on using the changeset viewer.