Changeset d3e4d6c for src/libcfa/concurrency/monitor
- Timestamp:
- Aug 23, 2017, 6:22:07 PM (8 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:
- 87e08e24, cb811ac
- Parents:
- 9f07232 (diff), bd37119 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor
r9f07232 rd3e4d6c 22 22 #include "stdlib" 23 23 24 static inline void ?{}(monitor_desc *this) {25 this ->owner = NULL;26 this ->recursion = 0;24 static inline void ?{}(monitor_desc & this) { 25 this.owner = NULL; 26 this.recursion = 0; 27 27 } 28 28 … … 38 38 } 39 39 40 void ?{}( monitor_guard_t *this, monitor_desc ** m, int count );41 void ^?{}( monitor_guard_t *this );40 void ?{}( monitor_guard_t & this, monitor_desc ** m, int count ); 41 void ^?{}( monitor_guard_t & this ); 42 42 43 43 //----------------------------------------------------------------------------- … … 64 64 }; 65 65 66 void ?{}( __condition_blocked_queue_t *);66 void ?{}( __condition_blocked_queue_t & ); 67 67 void append( __condition_blocked_queue_t *, __condition_node_t * ); 68 68 __condition_node_t * pop_head( __condition_blocked_queue_t * ); … … 74 74 }; 75 75 76 static inline void ?{}( condition *this ) {77 this ->monitors = NULL;78 this ->monitor_count = 0;76 static inline void ?{}( condition & this ) { 77 this.monitors = NULL; 78 this.monitor_count = 0; 79 79 } 80 80 81 static inline void ^?{}( condition *this ) {82 free( this ->monitors );81 static inline void ^?{}( condition & this ) { 82 free( this.monitors ); 83 83 } 84 84
Note:
See TracChangeset
for help on using the changeset viewer.