Ignore:
Timestamp:
Mar 23, 2023, 12:18:39 PM (20 months ago)
Author:
Peter A. Buhr <pabuhr@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

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

    r1afd9ccb rd800676  
    2828    exp_backoff_then_block_lock c_lock, p_lock;
    2929    __spinlock_t mutex_lock;
     30    char __padding[64]; // avoid false sharing in arrays
    3031};
    3132
  • libcfa/src/concurrency/mutex_stmt.hfa

    r1afd9ccb rd800676  
    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.