tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
translist.cc File Reference
#include <cstdlib>
#include <cstdio>
#include <new>
#include "translink/list/translist.h"
Include dependency graph for translist.cc:

Macros

#define SET_MARK(_p)   ((Node *)(((uintptr_t)(_p)) | 1))
 
#define CLR_MARK(_p)   ((Node *)(((uintptr_t)(_p)) & ~1))
 
#define CLR_MARKD(_p)   ((NodeDesc *)(((uintptr_t)(_p)) & ~1))
 
#define IS_MARKED(_p)   (((uintptr_t)(_p)) & 1)
 

Variables

__thread TransList::HelpStack helpStack
 

Macro Definition Documentation

#define CLR_MARK (   _p)    ((Node *)(((uintptr_t)(_p)) & ~1))
#define CLR_MARKD (   _p)    ((NodeDesc *)(((uintptr_t)(_p)) & ~1))
#define IS_MARKED (   _p)    (((uintptr_t)(_p)) & 1)
#define SET_MARK (   _p)    ((Node *)(((uintptr_t)(_p)) | 1))

Variable Documentation

__thread TransList::HelpStack helpStack