Changeset d3a804f5 for src/libcfa/concurrency/coroutines
- Timestamp:
- Feb 14, 2017, 1:19:28 PM (9 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:
- 97d246d
- Parents:
- f923b5f (diff), eafb094 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutines
rf923b5f rd3a804f5 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); … … 76 77 "Possible cause is a suspend executed in a member called by a coroutine user rather than by the coroutine main.", 77 78 src->name, src ); 78 assertf( src->last-> notHalted,79 assertf( src->last->state != Halted, 79 80 "Attempt by coroutine \"%.256s\" (%p) to suspend back to terminated coroutine \"%.256s\" (%p).\n" 80 81 "Possible cause is terminated coroutine's main routine has already returned.", … … 97 98 // not resuming self ? 98 99 if ( src != dst ) { 99 assertf( dst-> notHalted ,100 assertf( dst->state != Halted , 100 101 "Attempt by coroutine %.256s (%p) to resume terminated coroutine %.256s (%p).\n" 101 102 "Possible cause is terminated coroutine's main routine has already returned.", … … 115 116 // not resuming self ? 116 117 if ( src != dst ) { 117 assertf( dst-> notHalted ,118 assertf( dst->state != Halted , 118 119 "Attempt by coroutine %.256s (%p) to resume terminated coroutine %.256s (%p).\n" 119 120 "Possible cause is terminated coroutine's main routine has already returned.",
Note:
See TracChangeset
for help on using the changeset viewer.