Ignore:
Timestamp:
Dec 15, 2016, 12:40:01 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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, resolv-new, with_gc
Children:
66f8528
Parents:
12d44bb
Message:

Some optimization and clean-up of coroutines

File:
1 edited

Legend:

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

    r12d44bb r596f987b  
    1313// Called from the kernel when starting a coroutine or task so must switch back to user mode.
    1414
    15 extern void __suspend__F___1(void);
     15extern void __suspend_no_inline__F___1(void);
    1616
    1717void CtxInvokeCoroutine(
     
    2525
    2626      if(cor->state == Primed) {
    27             __suspend__F___1();
     27            __suspend_no_inline__F___1();
    2828      }
    2929
Note: See TracChangeset for help on using the changeset viewer.