Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/invoke.c

    rcb0e6de r17af7d1  
    2929
    3030extern void __suspend_internal(void);
    31 extern void __leave_monitor_desc( struct monitor_desc * this );
     31extern void __thread_signal_termination(struct thread_desc*);
    3232
    3333void CtxInvokeCoroutine(
     
    6565      struct thread_desc* thrd = get_thread( this );
    6666      struct coroutine_desc* cor = &thrd->cor;
    67       struct monitor_desc* mon = &thrd->mon;
    6867      cor->state = Active;
    6968
     
    7170      main( this );
    7271
    73       __leave_monitor_desc( mon );
     72      __thread_signal_termination(thrd);
    7473
    7574      //Final suspend, should never return
Note: See TracChangeset for help on using the changeset viewer.