Changeset b9da9585 for src/tests/preempt_longrun/create.c
- Timestamp:
- May 23, 2018, 12:02:26 PM (6 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, with_gc
- Children:
- 03bd407, dd226e3
- Parents:
- 59c034c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/create.c
r59c034c6 rb9da9585 1 1 #include <kernel> 2 2 #include <thread> 3 4 static const unsigned long N = 60_000ul; 3 #include <time> 5 4 6 5 #ifndef PREEMPTION_RATE 7 # define PREEMPTION_RATE 10`ms6 #error PREEMPTION_RATE not defined in makefile 8 7 #endif 9 8 … … 11 10 return PREEMPTION_RATE; 12 11 } 12 13 static const unsigned long N = 60_000ul; 13 14 14 15 thread worker_t {};
Note: See TracChangeset
for help on using the changeset viewer.