Changeset d60a4c2 for tests/concurrency/unified_locking/pthread_locks.cfa
- Timestamp:
- Jan 11, 2025, 5:48:46 PM (8 months ago)
- Branches:
- master
- Children:
- f886608
- Parents:
- 7d65715f (diff), 32a119e9 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/unified_locking/pthread_locks.cfa
r7d65715f rd60a4c2 18 18 thread Wait_Signal_1 {}; 19 19 20 void main( Wait_Signal_1 & this) {20 void main( Wait_Signal_1 & ) { 21 21 for (unsigned int i = 0; i < num_times; i++) { 22 22 lock(l); … … 32 32 thread Wait_3_Signal_3 {}; 33 33 34 void main( Wait_3_Signal_3 & this) {34 void main( Wait_3_Signal_3 & ) { 35 35 for (unsigned int i = 0; i < num_times; i++) { 36 36 lock(l); … … 48 48 thread Rec_Lock_Wait_Signal_1 {}; 49 49 50 void main( Rec_Lock_Wait_Signal_1 & this) {50 void main( Rec_Lock_Wait_Signal_1 & ) { 51 51 for (unsigned int i = 0; i < num_times; i++) { 52 52 lock(l); … … 66 66 thread Wait_Time_Signal_1 {}; 67 67 68 void main( Wait_Time_Signal_1 & this) {68 void main( Wait_Time_Signal_1 & ) { 69 69 for (unsigned int i = 0; i < num_times; i++) { 70 70 lock(l); … … 74 74 timespec waitTime{0,1}; 75 75 bool woken = wait(c,l, t + waitTime); 76 (void) woken; 76 77 }else{ 77 78 notify_one(c);
Note:
See TracChangeset
for help on using the changeset viewer.