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/monitor

    r4cedd9f r8fc45b7  
    9898
    9999void ?{}( __condition_blocked_queue_t & );
    100 void append( __condition_blocked_queue_t *, __condition_node_t * );
    101 __condition_node_t * pop_head( __condition_blocked_queue_t * );
     100void append( __condition_blocked_queue_t &, __condition_node_t * );
     101__condition_node_t * pop_head( __condition_blocked_queue_t & );
    102102
    103103struct condition {
     
    116116}
    117117
    118 void wait( condition & this, uintptr_t user_info = 0 );
    119 bool signal( condition & this );
    120 bool signal_block( condition & this );
    121 static inline bool is_empty( condition & this ) { return !this.blocked.head; }
    122 uintptr_t front( condition & this );
     118              void wait        ( condition & this, uintptr_t user_info = 0 );
     119              bool signal      ( condition & this );
     120              bool signal_block( condition & this );
     121static inline bool is_empty    ( condition & this ) { return !this.blocked.head; }
     122         uintptr_t front       ( condition & this );
    123123
    124124//-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.