- File:
-
- 1 edited
-
src/libcfa/concurrency/coroutines.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutines.c
r84e2523 r0c92c9f 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;73 64 this->errno_ = 0; 74 65 this->state = Start; … … 169 160 this->context = this->base; 170 161 this->top = (char *)this->context + cxtSize; 171 172 LIB_DEBUG_PRINTF("Coroutine : created stack %p\n", this->base);173 162 } 174 163
Note:
See TracChangeset
for help on using the changeset viewer.