Changeset 9a9ca36 for libcfa/src
- Timestamp:
- Mar 18, 2023, 2:41:05 PM (17 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 0da7181, 60e14fc
- Parents:
- ce04120
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/mutex_stmt.hfa
rce04120 r9a9ca36 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.