Changeset 6a8df56 for src/tests/preempt_longrun/processor.c
- Timestamp:
- Feb 28, 2018, 12:52:05 PM (7 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:
- a16764a6
- Parents:
- 4b1be68 (diff), 807d8c3 (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
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/processor.c
r4b1be68 r6a8df56 16 16 void main(worker_t & this) {} 17 17 18 extern processor * mainProcessor; 19 extern thread_desc * mainThread; 20 18 21 int main(int argc, char* argv[]) { 19 22 for(int i = 0; i < N; i++) { 23 assert(this_processor == mainProcessor); 24 assert(this_thread == mainThread); 20 25 processor p; 21 26 }
Note: See TracChangeset
for help on using the changeset viewer.