16 #ifdef __STMSKIP_IMPLEMENTATION__
27 #define INVALID_FIELD (0)
28 #define SENTINEL_KEYMIN ( 1UL)
29 #define SENTINEL_KEYMAX (~0UL)
36 #define CALLER_TO_INTERNAL_KEY(_k) ((_k) + 2)
46 #define READ_FIELD(_x,_f) \
49 if ( (_x) == INVALID_FIELD ) { RMB(); (_x) = (_f); } \
50 assert((_x) != INVALID_FIELD); \
56 #define READ_FIELD(_x,_f) ((_x) = (_f))
75 #define KEY_MAX ((~0U) - 3)
bool set_op ops[]
Definition: stmskip.cc:238
unsigned long setkey_t
Definition: stmskip.h:6
bool stmskip_execute_ops(stm_skip *l, set_op ops[], int op_size)
uint8_t type
Definition: stmskip.h:11
void init_stmskip_subsystem(void)
Definition: stmskip.cc:289
void * setval_t
Definition: stmskip.h:7
uint32_t key
Definition: stmskip.h:12
void destory_stmskip_subsystem(void)
Definition: stmskip.cc:300
stm_skip * stmskip_alloc(void)
Definition: stmskip.cc:121
void stm_skip
Definition: stmskip.h:77