Ignore:
Timestamp:
Oct 27, 2022, 3:50:15 PM (21 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/heap.cfa

    ra167c70c r88ac843e  
    211211#if BUCKETLOCK == SPINLOCK
    212212#elif BUCKETLOCK == LOCKFREE
    213 #include <stackLockFree.hfa>
     213#include <containers/lockfree.hfa>
    214214#else
    215215        #error undefined lock type for bucket lock
     
    505505                                freeLists[j].blockSize = bucketSizes[j];
    506506                        } // for
    507        
     507
    508508                        heapBuffer = 0p;
    509509                        heapReserve = 0;
Note: See TracChangeset for help on using the changeset viewer.