Changeset c13e8dc8 for src/tests/concurrent/preempt.c
- Timestamp:
- Dec 5, 2017, 2:35:03 PM (8 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f9feab8
- Parents:
- 9c35431 (diff), 65197c2 (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 moved
Legend:
- Unmodified
- Added
- Removed
-
src/tests/concurrent/preempt.c
r9c35431 rc13e8dc8 24 24 if( (counter % 7) == this.value ) { 25 25 int next = __atomic_add_fetch_4(&counter, 1, __ATOMIC_SEQ_CST); 26 if( (next % 100) == 0 ) printf("%d\n", next);26 if( (next % 100) == 0 ) printf("%d\n", (int)next); 27 27 } 28 28 }
Note:
See TracChangeset
for help on using the changeset viewer.