Ignore:
Timestamp:
Sep 19, 2017, 3:11:44 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
47b5b63, 764e009
Parents:
e06be49
Message:

Implemented proper support for full-coroutines. Stack unwinding still not done.

File:
1 edited

Legend:

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

    re06be49 r39fea2f  
    2828
    2929extern void __suspend_internal(void);
     30extern void __leave_coroutine(void);
    3031extern void __leave_thread_monitor( struct thread_desc * this );
    3132extern void disable_interrupts();
     
    5253
    5354      //Final suspend, should never return
    54       __suspend_internal();
     55      __leave_coroutine();
    5556      abortf("Resumed dead coroutine");
    5657}
Note: See TracChangeset for help on using the changeset viewer.