Changeset d800676 for libcfa/src/concurrency
- Timestamp:
- Mar 23, 2023, 12:18:39 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- c94b1f0
- Parents:
- 1afd9ccb (diff), 18ea270 (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/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/channel.hfa
r1afd9ccb rd800676 28 28 exp_backoff_then_block_lock c_lock, p_lock; 29 29 __spinlock_t mutex_lock; 30 char __padding[64]; // avoid false sharing in arrays 30 31 }; 31 32 -
libcfa/src/concurrency/mutex_stmt.hfa
r1afd9ccb rd800676 27 27 // Sort locks based on address 28 28 __libcfa_small_sort(this.lockarr, count); 29 30 // acquire locks in order31 // for ( size_t i = 0; i < count; i++ ) {32 // lock(*this.lockarr[i]);33 // }34 }35 36 static inline void ^?{}( __mutex_stmt_lock_guard & this ) with(this) {37 // for ( size_t i = count; i > 0; i-- ) {38 // unlock(*lockarr[i - 1]);39 // }40 29 } 41 30
Note: See TracChangeset
for help on using the changeset viewer.