include/amino/lockfree_dictionary.h File Reference

#include <amino/smr.h>

Go to the source code of this file.

Namespaces

namespace  amino

Classes

struct  amino::Value< E >
struct  amino::DictNode< K, V >
class  amino::LockFreeDictionary< K, V >

Defines

#define COPY_NODE(node)   (node)
#define READ_NODE(node)   (IS_MARKED(node) ? NULL : (node))
#define RELEASE_NODE(node)   (node)
#define GET_UNMARKED(p)   ((DictNode<K,V>*)(((long)(p))&(~3)))
#define GET_UNMARKED_VALUE(p)   ((Value<V>*)(((long)(p))&(~3)))
#define GET_MARKED(p)   ((DictNode<K,V>*)(((long)(p))|(1)))
#define GET_MARKED_VALUE(p)   ((Value<V>*)(((long)(p))|(1)))
#define IS_MARKED(p)   (((long)(p))&(1))
#define MAXLEVEL   10
#define SLCONST   0.5


Define Documentation

#define COPY_NODE ( node   )     (node)

#define GET_MARKED (  )     ((DictNode<K,V>*)(((long)(p))|(1)))

#define GET_MARKED_VALUE (  )     ((Value<V>*)(((long)(p))|(1)))

#define GET_UNMARKED (  )     ((DictNode<K,V>*)(((long)(p))&(~3)))

#define GET_UNMARKED_VALUE (  )     ((Value<V>*)(((long)(p))&(~3)))

#define IS_MARKED (  )     (((long)(p))&(1))

#define MAXLEVEL   10

#define READ_NODE ( node   )     (IS_MARKED(node) ? NULL : (node))

#define RELEASE_NODE ( node   )     (node)

#define SLCONST   0.5


Generated on Tue Dec 9 13:39:39 2008 for Amino by  doxygen 1.5.6