Changeset ae7be7a for libcfa/src/concurrency/invoke.h
- Timestamp:
- Mar 27, 2020, 12:05:49 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f0ce5f4
- Parents:
- 68887f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
r68887f9 rae7be7a 92 92 }; 93 93 94 enum coroutine_state { Halted, Start, Primed, Inactive, Active, Rerun };94 enum coroutine_state { Halted, Start, Primed, Blocked, Ready, Active, Rerun }; 95 95 enum __Preemption_Reason { __NO_PREEMPTION, __ALARM_PREEMPTION, __POLL_PREEMPTION, __MANUAL_PREEMPTION }; 96 96 … … 201 201 #ifdef __CFA_DEBUG__ 202 202 // previous function to park/unpark the thread 203 const char * prev_park; 203 const char * park_caller; 204 enum coroutine_state park_result; 204 205 bool park_stale; 205 const char * prev_unpark; 206 const char * unpark_caller; 207 enum coroutine_state unpark_result; 206 208 bool unpark_stale; 207 209 #endif
Note: See TracChangeset
for help on using the changeset viewer.