- File:
-
- 1 edited
-
libcfa/src/concurrency/coroutine.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.cfa
r69c5c00 r1c01c58 47 47 48 48 //----------------------------------------------------------------------------- 49 FORALL_DATA_INSTANCE(CoroutineCancelled, (dtype coroutine_t), (coroutine_t)) 49 FORALL_DATA_INSTANCE(CoroutineCancelled, 50 (dtype coroutine_t | sized(coroutine_t)), (coroutine_t)) 50 51 51 52 struct __cfaehm_node { … … 58 59 void mark_exception(CoroutineCancelled(T) *) {} 59 60 60 forall(dtype T )61 forall(dtype T | sized(T)) 61 62 void copy(CoroutineCancelled(T) * dst, CoroutineCancelled(T) * src) { 62 63 dst->the_coroutine = src->the_coroutine; … … 76 77 exception_t * except = (exception_t *)(1 + (__cfaehm_node *)desc->cancellation); 77 78 78 // TODO: Remove explitate vtable set once trac#186 is fixed.79 79 CoroutineCancelled(T) except; 80 except.virtual_table = &get_exception_vtable(&except);81 80 except.the_coroutine = &cor; 82 81 except.the_exception = except;
Note:
See TracChangeset
for help on using the changeset viewer.