Changeset 8fc9a5f for libcfa/src/concurrency
- Timestamp:
- Oct 8, 2020, 4:46:16 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 40a1392, b3f9684c
- Parents:
- 8e4bc30
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.hfa
r8e4bc30 r8fc9a5f 37 37 // Anything that implements this trait can be resumed. 38 38 // Anything that is resumed is a coroutine. 39 trait is_coroutine(dtype T 40 | is_resumption_exception(CoroutineCancelled(T), 41 CoroutineCancelled_vtable(T))) { 39 trait is_coroutine(dtype T | IS_RESUMPTION_EXCEPTION(CoroutineCancelled, (T))) { 42 40 void main(T & this); 43 41 $coroutine * get_coroutine(T & this);
Note: See TracChangeset
for help on using the changeset viewer.