Changeset 10b5970 for libcfa/src
- Timestamp:
- Jan 7, 2025, 3:22:19 PM (2 weeks ago)
- Branches:
- master
- Children:
- 190a833
- Parents:
- 70670e7
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/queue.hfa
r70670e7 r10b5970 33 33 } 34 34 35 T * succ( Queue(T) & q, T * n ) with( q ) {// pre: *n in *q36 35 T * succ( Queue(T) & q, T * n ) { // pre: *n in *q 36 #ifdef __CFA_DEBUG__ 37 37 if ( ! listed( n ) ) abort( "(Queue &)%p.succ( %p ) : Node is not on a list.", &q, n ); 38 #endif // __CFA_DEBUG__ 38 #else 39 (void) q; 40 #endif // __CFA_DEBUG__ 39 41 return (Next( n ) == n) ? 0p : Next( n ); 40 42 } // post: n == tail() & succ(n) == 0 | n != tail() & *succ(n) in *q -
libcfa/src/concurrency/mutex_stmt.hfa
r70670e7 r10b5970 30 30 forall(L & | is_lock(L)) { 31 31 static inline void * __get_mutexstmt_lock_ptr( L & this ) { return &this; } 32 static inline L __get_mutexstmt_lock_type( L & this) {}33 static inline L __get_mutexstmt_lock_type( L * this) {}32 static inline L __get_mutexstmt_lock_type( L & ) {} 33 static inline L __get_mutexstmt_lock_type( L * ) {} 34 34 }
Note: See TracChangeset
for help on using the changeset viewer.