Ignore:
Timestamp:
Oct 27, 2022, 3:50:15 PM (20 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
22a0e87
Parents:
a167c70c
Message:

Moved lockfree containers to containers/lockfree.hfa.
Added poison_list, which is a lock-free bag with push and poison as only operations.

File:
1 edited

Legend:

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

    ra167c70c r88ac843e  
    2121
    2222#include "bits/weakso_locks.hfa"
    23 #include "containers/queueLockFree.hfa"
     23#include "containers/lockfree.hfa"
    2424#include "containers/list.hfa"
    2525
     
    423423}
    424424
    425 static inline size_t on_wait(simple_owner_lock & this) with(this) { 
     425static inline size_t on_wait(simple_owner_lock & this) with(this) {
    426426        lock( lock __cfaabi_dbg_ctx2 );
    427427        /* paranoid */ verifyf( owner != 0p, "Attempt to release lock %p that isn't held", &this );
Note: See TracChangeset for help on using the changeset viewer.