Changeset 6ff08d8 for libcfa/src/concurrency/exception.cfa
- Timestamp:
- Jul 12, 2021, 1:44:35 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 605673f, 9345684
- Parents:
- cf444b6 (diff), a953c2e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/exception.cfa
rcf444b6 r6ff08d8 20 20 #include "coroutine.hfa" 21 21 22 extern struct $thread* mainThread;22 extern struct thread$ * mainThread; 23 23 extern "C" { 24 24 extern void __cfactx_thrd_leave(); … … 55 55 56 56 STOP_AT_END_FUNCTION(coroutine_cancelstop, 57 struct $coroutine * src = ($coroutine*)stop_param;58 struct $coroutine* dst = src->last;57 struct coroutine$ * src = (coroutine$ *)stop_param; 58 struct coroutine$ * dst = src->last; 59 59 60 60 $ctx_switch( src, dst ); … … 72 72 void * stop_param; 73 73 74 struct $thread* this_thread = active_thread();74 struct thread$ * this_thread = active_thread(); 75 75 if ( &this_thread->self_cor != this_thread->curr_cor ) { 76 struct $coroutine* cor = this_thread->curr_cor;76 struct coroutine$ * cor = this_thread->curr_cor; 77 77 cor->cancellation = unwind_exception; 78 78
Note: See TracChangeset
for help on using the changeset viewer.