Changeset 303406a for src/tests/sched-int-wait.c
- Timestamp:
- Aug 15, 2017, 10:11:04 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:
- f710aca
- Parents:
- 6a36975
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/sched-int-wait.c
r6a36975 r303406a 5 5 #include <thread> 6 6 7 static const unsigned long N = 10_000ul; 7 #include <time.h> 8 9 static const unsigned long N = 2_500ul; 8 10 9 11 #ifndef PREEMPTION_RATE … … 119 121 // Main 120 122 int main(int argc, char* argv[]) { 123 rand48seed( time( NULL ) ); 121 124 waiter_left = 4; 122 125 processor p[2];
Note: See TracChangeset
for help on using the changeset viewer.