Ignore:
Timestamp:
Mar 18, 2023, 2:41:05 PM (20 months ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
0da7181, 60e14fc
Parents:
ce04120
Message:

a little bit of mutex stmt header cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/mutex_stmt.hfa

    rce04120 r9a9ca36  
    2727    // Sort locks based on address
    2828    __libcfa_small_sort(this.lockarr, count);
    29 
    30     // acquire locks in order
    31     // 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     // }
    4029}
    4130
Note: See TracChangeset for help on using the changeset viewer.