Ignore:
Timestamp:
Dec 15, 2016, 12:40:01 PM (7 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:
66f8528
Parents:
12d44bb
Message:

Some optimization and clean-up of coroutines

File:
1 edited

Legend:

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

    r12d44bb r596f987b  
    1010#define _INVOKE_H_
    1111
    12      struct coStack_t {
     12      #define unlikely(x)    __builtin_expect(!!(x), 0)
     13
     14      struct coStack_t {
    1315            unsigned int size;          // size of stack
    1416            void *storage;                      // pointer to stack
     
    3840#define _INVOKE_PRIVATE_H_
    3941     
    40      struct machine_context_t {
     42      struct machine_context_t {
    4143            void *SP;
    4244            void *FP;
Note: See TracChangeset for help on using the changeset viewer.