Ignore:
Timestamp:
Sep 19, 2017, 3:56:00 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
f980549
Parents:
8f98b78 (diff), 39fea2f (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel.c

    r8f98b78 r764e009  
    102102        this.errno_ = 0;
    103103        this.state = Start;
     104        this.starter = NULL;
    104105}
    105106
     
    110111//-----------------------------------------------------------------------------
    111112// Processor coroutine
     113
     114// Construct the processor context of the main processor
    112115void ?{}(processorCtx_t & this, processor * proc) {
    113116        (this.__cor){ "Processor" };
     117        this.__cor.starter = &mainThread->cor;
    114118        this.proc = proc;
    115119        proc->runner = &this;
    116120}
    117121
     122// Construct the processor context of non-main processors
    118123void ?{}(processorCtx_t & this, processor * proc, current_stack_info_t * info) {
    119124        (this.__cor){ info };
Note: See TracChangeset for help on using the changeset viewer.