Changeset 84e2523
- Timestamp:
- Feb 9, 2017, 4:49:24 PM (8 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:
- 8fcbb4c
- Parents:
- 52c14b3
- Location:
- src/libcfa/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutines
r52c14b3 r84e2523 36 36 void ?{}(coStack_t * this); 37 37 void ?{}(coroutine * this); 38 void ?{}(coroutine * this, const char * name); 38 39 void ^?{}(coStack_t * this); 39 40 void ^?{}(coroutine * this); -
src/libcfa/concurrency/coroutines.c
r52c14b3 r84e2523 62 62 void ?{}(coroutine* this) { 63 63 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 71 void ?{}(coroutine* this, const char * name) { 72 this->name = name; 64 73 this->errno_ = 0; 65 74 this->state = Start; … … 160 169 this->context = this->base; 161 170 this->top = (char *)this->context + cxtSize; 171 172 LIB_DEBUG_PRINTF("Coroutine : created stack %p\n", this->base); 162 173 } 163 174
Note: See TracChangeset
for help on using the changeset viewer.