Zero  0.1.0
Classes | Variables
lock_s.h File Reference
#include "w_defines.h"
#include "w_key.h"
#include "w_okvl.h"
#include "basics.h"

Go to the source code of this file.

Classes

class  lockid_t
 The means of identifying a desired or held lock. More...
 

Variables

bool OKVL_EXPERIMENT
 
uint32_t OKVL_INIT_STR_PREFIX_LEN
 
uint32_t OKVL_INIT_STR_UNIQUEFIER_LEN
 
const uint32_t LOCKID_T_HASH_SEED = 0xEE5C61DD
 
const uint32_t LOCKID_T_HASH_MULT = 0x35D0B891
 

Variable Documentation

§ LOCKID_T_HASH_MULT

const uint32_t LOCKID_T_HASH_MULT = 0x35D0B891

§ LOCKID_T_HASH_SEED

const uint32_t LOCKID_T_HASH_SEED = 0xEE5C61DD

§ OKVL_EXPERIMENT

bool OKVL_EXPERIMENT

This is only for OKVL performance experiments. This must be usually turned off as we do not have metadata to automatically determine the following parameters per B-tree.

§ OKVL_INIT_STR_PREFIX_LEN

uint32_t OKVL_INIT_STR_PREFIX_LEN

Global variable to specify the length of "logical" key part in OKVL. 0 to turn it off.

§ OKVL_INIT_STR_UNIQUEFIER_LEN

uint32_t OKVL_INIT_STR_UNIQUEFIER_LEN

Global variable to specify the length of "uniquefier" key part in OKVL. 0 to turn it off.