tlds
Transactional Operations for Linked Data Structures
|
#include <lockfreelist.h>
Classes | |
struct | Node |
Public Member Functions | |
LockfreeList () | |
~LockfreeList () | |
bool | Find (uint32_t key) |
bool | Insert (uint32_t key) |
bool | Delete (uint32_t key) |
int | Size () |
void | Print () |
Private Member Functions | |
Node * | LocatePred (uint32_t key, Node **left_node) |
Private Attributes | |
Node * | m_head |
Node * | m_tail |
Node ** | mem |
uint32_t | memptr |
LockfreeList::LockfreeList | ( | ) |
LockfreeList::~LockfreeList | ( | ) |
bool LockfreeList::Delete | ( | uint32_t | key | ) |
bool LockfreeList::Find | ( | uint32_t | key | ) |
bool LockfreeList::Insert | ( | uint32_t | key | ) |
|
private |
void LockfreeList::Print | ( | ) |
int LockfreeList::Size | ( | ) |
|
private |
|
private |
|
private |
|
private |