- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/exception.cfa
rbe73f30 re84ab3d 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.