*id2 = (id_tag_t*) ptr2;
if (id1 == NULL || id2 == NULL)
return false;
- return *id1 == *id2;
+ return (*id1).tag == (*id2).tag;
}
@DefineFunc:
// Should initialize the CHM for the construction of the table
// For other CHM in kvs_data, they should be initialzed in resize()
// because the size is determined dynamically
+ /**
+ @Begin
+ @Entry_point
+ @End
+ */
+
kvs_data *kvs = new kvs_data(init_size);
void *chm = (void*) new CHM(0);
kvs->_data[0].store(chm, memory_order_relaxed);