Changeset ee2938a for src/libcfa/concurrency/coroutine.c
- Timestamp:
- Feb 12, 2018, 1:33:45 PM (7 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:
- ff2d1139
- Parents:
- 48786bc8 (diff), cfe2f0a (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/coroutine.c
r48786bc8 ree2938a 99 99 // Wrapper for co 100 100 void CoroutineCtxSwitch(coroutine_desc* src, coroutine_desc* dst) { 101 // THREAD_GETMEM( This )->disableInterrupts();101 disable_interrupts(); 102 102 103 103 // set state of current coroutine to inactive … … 115 115 src->state = Active; 116 116 117 // THREAD_GETMEM( This )->enableInterrupts();117 enable_interrupts( __cfaabi_dbg_ctx ); 118 118 } //ctxSwitchDirect 119 119
Note: See TracChangeset
for help on using the changeset viewer.