Ignore:
Timestamp:
Aug 25, 2017, 10:38:34 AM (8 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:
800d275
Parents:
af08051 (diff), 3eab308c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/monitor

    raf08051 r28e58fd  
    2222#include "stdlib"
    2323
    24 static inline void ?{}(monitor_desc * this) {
    25         this->owner = NULL;
    26         this->recursion = 0;
     24static inline void ?{}(monitor_desc & this) {
     25        this.owner = NULL;
     26        this.recursion = 0;
    2727}
    2828
     
    3838}
    3939
    40 void ?{}( monitor_guard_t * this, monitor_desc ** m, int count );
    41 void ^?{}( monitor_guard_t * this );
     40void ?{}( monitor_guard_t & this, monitor_desc ** m, int count );
     41void ^?{}( monitor_guard_t & this );
    4242
    4343//-----------------------------------------------------------------------------
     
    6464};
    6565
    66 void ?{}( __condition_blocked_queue_t * );
     66void ?{}( __condition_blocked_queue_t & );
    6767void append( __condition_blocked_queue_t *, __condition_node_t * );
    6868__condition_node_t * pop_head( __condition_blocked_queue_t * );
     
    7474};
    7575
    76 static inline void ?{}( condition * this ) {
    77         this->monitors = NULL;
    78         this->monitor_count = 0;
     76static inline void ?{}( condition & this ) {
     77        this.monitors = NULL;
     78        this.monitor_count = 0;
    7979}
    8080
    81 static inline void ^?{}( condition * this ) {
    82         free( this->monitors );
     81static inline void ^?{}( condition & this ) {
     82        free( this.monitors );
    8383}
    8484
Note: See TracChangeset for help on using the changeset viewer.