Changeset 10b5970 for tests/concurrency/unified_locking/pthread_locks.cfa
- Timestamp:
- Jan 7, 2025, 3:22:19 PM (2 weeks ago)
- Branches:
- master
- Children:
- 190a833
- Parents:
- 70670e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/unified_locking/pthread_locks.cfa
r70670e7 r10b5970 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.