Changeset 9f575ea for libcfa/src/concurrency/invoke.h
- Timestamp:
- Feb 6, 2020, 10:23:27 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3381ed7
- Parents:
- 4f7b418
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
r4f7b418 r9f575ea 92 92 }; 93 93 94 enum coroutine_state { Halted, Start, Inactive, Active, Primed};94 enum coroutine_state { Halted, Start, Primed, Inactive, Active, Rerun, Reschedule }; 95 95 96 96 struct coroutine_desc { … … 164 164 165 165 // current execution status for coroutine 166 enum coroutine_state state; 166 volatile int state; 167 int preempted; 167 168 168 169 //SKULLDUGGERY errno is not save in the thread data structure because returnToKernel appears to be the only function to require saving and restoring it
Note: See TracChangeset
for help on using the changeset viewer.