Ignore:
Timestamp:
Feb 21, 2020, 5:31:19 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
a8078ee
Parents:
a505021
Message:

More renames and clean-ups

File:
1 edited

Legend:

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

    ra505021 rc7a900a  
    9696
    9797        struct coroutine_desc {
    98                 // context that is switch during a CtxSwitch
     98                // context that is switch during a __cfactx_switch
    9999                struct __stack_context_t context;
    100100
     
    161161        struct thread_desc {
    162162                // Core threading fields
    163                 // context that is switch during a CtxSwitch
     163                // context that is switch during a __cfactx_switch
    164164                struct __stack_context_t context;
    165165
     
    204204                }
    205205
    206                 static inline [thread_desc *&, thread_desc *& ] __get( thread_desc & this ) /*__attribute__((const))*/ {
     206                static inline [thread_desc *&, thread_desc *& ] __get( thread_desc & this ) __attribute__((const)) {
    207207                        return this.node.[next, prev];
    208208                }
     
    254254
    255255        // assembler routines that performs the context switch
    256         extern void CtxInvokeStub( void );
    257         extern void CtxSwitch( struct __stack_context_t * from, struct __stack_context_t * to ) asm ("CtxSwitch");
     256        extern void __cfactx_invoke_stub( void );
     257        extern void __cfactx_switch( struct __stack_context_t * from, struct __stack_context_t * to ) asm ("__cfactx_switch");
    258258        // void CtxStore ( void * this ) asm ("CtxStore");
    259259        // void CtxRet   ( void * dst  ) asm ("CtxRet");
Note: See TracChangeset for help on using the changeset viewer.