Changeset 1f55a75 for libcfa/src/bits
- Timestamp:
- Mar 23, 2021, 9:19:47 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 98d9ce9
- Parents:
- f9c3100 (diff), e825c9d (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. - Location:
- libcfa/src/bits
- Files:
-
- 2 edited
-
queue.hfa (modified) (2 diffs)
-
weakso_locks.hfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/queue.hfa
rf9c3100 r1f55a75 15 15 }; 16 16 17 inline {17 static inline { 18 18 // wrappers to make Collection have T 19 19 T & head( Queue(T) & q ) with( q ) { … … 154 154 struct QueueIter { 155 155 inline ColIter; // Plan 9 inheritance 156 }; 156 }; 157 157 158 inline {158 static inline { 159 159 void ?{}( QueueIter(T) & qi ) with( qi ) { 160 160 ((ColIter &)qi){}; -
libcfa/src/bits/weakso_locks.hfa
rf9c3100 r1f55a75 70 70 static inline void ^?{}( multiple_acquisition_lock & this ) {} 71 71 static inline void lock ( multiple_acquisition_lock & this ) { lock ( (blocking_lock &)this ); } 72 static inline void try_lock ( multiple_acquisition_lock & this ) {try_lock( (blocking_lock &)this ); }72 static inline bool try_lock ( multiple_acquisition_lock & this ) { return try_lock( (blocking_lock &)this ); } 73 73 static inline void unlock ( multiple_acquisition_lock & this ) { unlock ( (blocking_lock &)this ); } 74 74 static inline void on_wait ( multiple_acquisition_lock & this ) { on_wait ( (blocking_lock &)this ); }
Note:
See TracChangeset
for help on using the changeset viewer.