Changeset 827a190 for src/libcfa
- Timestamp:
- Feb 12, 2018, 11:54:51 AM (6 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:
- cfe2f0a
- Parents:
- eb7f20c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutine.c
reb7f20c r827a190 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.