- Timestamp:
- Jan 24, 2022, 12:57:59 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 451d958, 7cf3b1d
- Parents:
- 1612315
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/preempt.cfa
r1612315 rb200492 26 26 thread worker_t { 27 27 int value; 28 unsigned spin = 0;28 unsigned spin; 29 29 }; 30 30 … … 44 44 if( (next % 100) == 0 ) printf("%d\n", (int)next); 45 45 __cfaabi_check_preemption(); 46 spin = 0;46 this.spin = 0; 47 47 } 48 48 __cfaabi_check_preemption();
Note: See TracChangeset
for help on using the changeset viewer.