Ignore:
Timestamp:
Nov 2, 2017, 4:01:28 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:
025278e
Parents:
4cedd9f
Message:

Internal helper functions now use arrays and references instead of pointers

File:
1 edited

Legend:

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

    r4cedd9f r8fc45b7  
    5050      extern "Cforall" {
    5151            void ?{}( struct __thread_queue_t & );
    52             void append( struct __thread_queue_t *, struct thread_desc * );
    53             struct thread_desc * pop_head( struct __thread_queue_t * );
    54             struct thread_desc * remove( struct __thread_queue_t *, struct thread_desc ** );
     52            void append( struct __thread_queue_t &, struct thread_desc * );
     53            struct thread_desc * pop_head( struct __thread_queue_t & );
     54            struct thread_desc * remove( struct __thread_queue_t &, struct thread_desc ** );
    5555
    5656            void ?{}( struct __condition_stack_t & );
    57             void push( struct __condition_stack_t *, struct __condition_criterion_t * );
    58             struct __condition_criterion_t * pop( struct __condition_stack_t * );
     57            void push( struct __condition_stack_t &, struct __condition_criterion_t * );
     58            struct __condition_criterion_t * pop( struct __condition_stack_t & );
    5959
    60             void ?{}(spinlock & this);
     60            void  ?{}(spinlock & this);
    6161            void ^?{}(spinlock & this);
    6262      }
Note: See TracChangeset for help on using the changeset viewer.