Ignore:
Timestamp:
Feb 28, 2018, 12:28:45 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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, resolv-new, with_gc
Children:
6a8df56, b002261
Parents:
2c39855
Message:

Disable migration of the main thread to help find a bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/preempt_longrun/processor.c

    r2c39855 r807d8c3  
    1616void main(worker_t & this) {}
    1717
     18extern processor *   mainProcessor;
     19extern thread_desc * mainThread;
     20
    1821int main(int argc, char* argv[]) {
    1922        for(int i = 0; i < N; i++) {
     23                assert(this_processor == mainProcessor);
     24                assert(this_thread == mainThread);
    2025                processor p;
    2126        }
Note: See TracChangeset for help on using the changeset viewer.