Changeset ab5baab for libcfa/src/concurrency/coroutine.cfa
- Timestamp:
- Jun 2, 2021, 5:22:57 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 96bfdde7, e014c6d
- Parents:
- e9ea53d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.cfa
re9ea53d rab5baab 267 267 struct $coroutine * cor = active_coroutine(); 268 268 269 // get the active thread once 270 $thread * athrd = active_thread(); 271 272 /* paranoid */ verify( athrd->corctx_flag ); 273 athrd->corctx_flag = false; 274 269 275 if(cor->state == Primed) { 270 276 __cfactx_suspend();
Note: See TracChangeset
for help on using the changeset viewer.