Changeset 17af7d1 for src/libcfa/concurrency/monitor
- Timestamp:
- Mar 17, 2017, 11:34:15 AM (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:
- b32ada31
- Parents:
- 9f1695b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor
r9f1695b r17af7d1 34 34 } 35 35 36 //Basic entering routine37 void enter(monitor_desc *);38 void leave(monitor_desc *);39 40 36 //Array entering routine 41 37 void enter(monitor_desc **, int count); … … 49 45 static inline int ?<?(monitor_desc* lhs, monitor_desc* rhs) { 50 46 return ((intptr_t)lhs) < ((intptr_t)rhs); 51 }52 53 static inline void ?{}( monitor_guard_t * this, monitor_desc ** m ) {54 this->m = m;55 this->count = 1;56 enter( *this->m );57 47 } 58 48
Note: See TracChangeset
for help on using the changeset viewer.