Ignore:
Timestamp:
Feb 10, 2017, 3:57:35 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
97f65d5
Parents:
b7b8674 (diff), 992b089 (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:/u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

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

    rb7b8674 raa9ee19  
    6262void ?{}(coroutine* this) {
    6363        this->name = "Anonymous Coroutine";
     64        this->errno_ = 0;
     65        this->state = Start;
     66      this->notHalted = true;
     67        this->starter = NULL;
     68        this->last = NULL;
     69}
     70
     71void ?{}(coroutine* this, const char * name) {
     72        this->name = name;
    6473        this->errno_ = 0;
    6574        this->state = Start;
     
    160169        this->context = this->base;
    161170        this->top = (char *)this->context + cxtSize;
     171
     172        LIB_DEBUG_PRINTF("Coroutine : created stack %p\n", this->base);
    162173}
    163174
Note: See TracChangeset for help on using the changeset viewer.