Changeset 242a902 for src/libcfa/concurrency/monitor
- Timestamp:
- Jul 18, 2017, 4:35:52 PM (7 years ago)
- 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:
- f19339e
- Parents:
- 795d450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor
r795d450 r242a902 24 24 #include "stdlib" 25 25 26 static inline void ?{}(monitor_desc *this) {27 this ->owner = NULL;28 this ->recursion = 0;26 static inline void ?{}(monitor_desc & this) { 27 this.owner = NULL; 28 this.recursion = 0; 29 29 } 30 30 … … 40 40 } 41 41 42 void ?{}( monitor_guard_t *this, monitor_desc ** m, int count );43 void ^?{}( monitor_guard_t *this );42 void ?{}( monitor_guard_t & this, monitor_desc ** m, int count ); 43 void ^?{}( monitor_guard_t & this ); 44 44 45 45 //----------------------------------------------------------------------------- … … 66 66 }; 67 67 68 void ?{}( __condition_blocked_queue_t *);68 void ?{}( __condition_blocked_queue_t & ); 69 69 void append( __condition_blocked_queue_t *, __condition_node_t * ); 70 70 __condition_node_t * pop_head( __condition_blocked_queue_t * ); … … 76 76 }; 77 77 78 static inline void ?{}( condition *this ) {79 this ->monitors = NULL;80 this ->monitor_count = 0;78 static inline void ?{}( condition & this ) { 79 this.monitors = NULL; 80 this.monitor_count = 0; 81 81 } 82 82 83 static inline void ^?{}( condition *this ) {84 free( this ->monitors );83 static inline void ^?{}( condition & this ) { 84 free( this.monitors ); 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.