Changes in src/libcfa/concurrency/invoke.c [17af7d1:cb0e6de]
- File:
-
- 1 edited
-
src/libcfa/concurrency/invoke.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/invoke.c
r17af7d1 rcb0e6de 29 29 30 30 extern void __suspend_internal(void); 31 extern void __ thread_signal_termination(struct thread_desc*);31 extern void __leave_monitor_desc( struct monitor_desc * this ); 32 32 33 33 void CtxInvokeCoroutine( … … 65 65 struct thread_desc* thrd = get_thread( this ); 66 66 struct coroutine_desc* cor = &thrd->cor; 67 struct monitor_desc* mon = &thrd->mon; 67 68 cor->state = Active; 68 69 … … 70 71 main( this ); 71 72 72 __ thread_signal_termination(thrd);73 __leave_monitor_desc( mon ); 73 74 74 75 //Final suspend, should never return
Note:
See TracChangeset
for help on using the changeset viewer.