Changeset b826e6b for src/tests/sched-int-barge.c
- Timestamp:
- Jul 19, 2017, 11:49:33 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9cc0472
- Parents:
- fea3faa (diff), a57cb58 (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
-
src/tests/sched-int-barge.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/sched-int-barge.c
rfea3faa rb826e6b 4 4 #include <stdlib> 5 5 #include <thread> 6 7 #ifndef N 8 #define N 100_000 9 #endif 6 10 7 11 enum state_t { WAIT, SIGNAL, BARGE }; … … 73 77 } 74 78 75 if( c->counter >= 100_000) c->done = true;79 if( c->counter >= N ) c->done = true; 76 80 return !c->done; 77 81 }
Note:
See TracChangeset
for help on using the changeset viewer.