7 #define CAS_PTR_BOOL(addr, old, new) (old == CAS_PTR(addr, old, new))
8 #define MEM_BLOCK_SIZE 1000000 //16MB (node_t = 16b)
9 #define MEM_BLOCK_CNT 500 // 8GB of mem max
23 bool Find(uint32_t key);
LockfreeList()
Definition: lockfreelist.cc:94
Node ** mem
Definition: lockfreelist.h:39
Node * m_head
Definition: lockfreelist.h:35
Node * next
Definition: lockfreelist.h:17
~LockfreeList()
Definition: lockfreelist.cc:113
Node * m_tail
Definition: lockfreelist.h:36
void Print()
Definition: lockfreelist.cc:217
bool Delete(uint32_t key)
Definition: lockfreelist.cc:190
Definition: lockfreelist.h:11
bool Insert(uint32_t key)
Definition: lockfreelist.cc:142
int Size()
Definition: lockfreelist.cc:128
Definition: lockfreelist.h:14
uint32_t key
Definition: lockfreelist.h:16
uint32_t memptr
Definition: lockfreelist.h:40
Node * LocatePred(uint32_t key, Node **left_node)
Definition: lockfreelist.cc:30
bool Find(uint32_t key)
Definition: lockfreelist.cc:87